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

Constructor Index

 o ArrayType(Type)

Method Index

 o getComponentType()
Returns the type of an element.
 o toString()
 o toTree()
Returns a tree that describes this type in a program.

Constructors

 o ArrayType
 public ArrayType(Type componentType)

Methods

 o 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();
    ...;
 }

 o toTree
 public Tree toTree()
Returns a tree that describes this type in a program.

Overrides:
toTree in class Type
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index