Package org.eclipse.jface.text.templates
Class TemplateVariableType
- java.lang.Object
-
- org.eclipse.jface.text.templates.TemplateVariableType
-
public final class TemplateVariableType extends java.lang.ObjectValue object that represents the type of a template variable. A type is defined by its name and may have parameters.- Since:
- 3.3
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()Returns the type name of this variable type.java.util.List<java.lang.String>getParams()Returns the unmodifiable and possibly empty list of parametersinthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the type name of this variable type.- Returns:
- the type name of this variable type
-
getParams
public java.util.List<java.lang.String> getParams()
Returns the unmodifiable and possibly empty list of parameters- Returns:
- the list of parameters
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-