All Packages Class Hierarchy This Package Previous Next Index
Class epp.ArrayType
java.lang.Object
|
+----epp.Type
|
+----epp.ArrayType
- public class ArrayType
- extends Type
The ArrayType class is a Type that describes
an :arrayOf type.
- See Also:
- Type
-
ArrayType(Type)
-
-
getComponentType()
- Returns the type of an element.
-
toString()
-
-
toTree()
- Returns a tree that describes this type in a program.
ArrayType
public ArrayType(Type componentType)
getComponentType
public Type getComponentType()
- Returns the type of an element.
A typical usage is shown below.
if (type.tag() == :arrayOf){
Type t = ((ArrayType)type).getComponentType();
...;
}
toTree
public Tree toTree()
- Returns a tree that describes this type in a program.
- Overrides:
- toTree in class Type
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index