All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.util.ArrayType

java.lang.Object
   |
   +----espresso.util.Type
           |
           +----espresso.util.ReferenceType
                   |
                   +----espresso.util.ArrayType

public class ArrayType
extends ReferenceType

Variable Index

 o baseType_d
 o cloneable
 o dims_d
 o object

Constructor Index

 o ArrayType(Type, int)

Method Index

 o baseType()
 o dims()
 o distanceTo(Type)
The distance between array types is defined to be that of the base types if positive or zero and the dimensions identical.
 o identicalTo(Type)
 o subTypeOf(Type)
 o superTypeOf(Type)
 o toClassFileType()
Map an Espresso type to a ClassGen one.
 o toString()

Variables

 o dims_d
 int dims_d
 o baseType_d
 Type baseType_d
 o object
 static Type object
 o cloneable
 static Type cloneable

Constructors

 o ArrayType
 public ArrayType(Type baseType,
                  int dims)

Methods

 o dims
 public int dims()
 o baseType
 public Type baseType()
 o identicalTo
 public boolean identicalTo(Type other)
Overrides:
identicalTo in class ReferenceType
 o subTypeOf
 public boolean subTypeOf(Type other)
Overrides:
subTypeOf in class ReferenceType
 o superTypeOf
 public boolean superTypeOf(Type other)
Overrides:
superTypeOf in class ReferenceType
 o distanceTo
 public int distanceTo(Type other)
The distance between array types is defined to be that of the base types if positive or zero and the dimensions identical. In addition, the distances to java.lang.Object and java.lang.Cloneable are big enough never to be preferred over another compatible array type. Also note that java.lang.Cloneable is preferred over java.lang .Object.

Overrides:
distanceTo in class ReferenceType
 o toString
 public String toString()
Overrides:
toString in class Type
 o toClassFileType
 public ClassGenType toClassFileType()
Map an Espresso type to a ClassGen one.

Overrides:
toClassFileType in class Type

All Packages  Class Hierarchy  This Package  Previous  Next  Index