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
-
baseType_d
-
-
cloneable
-
-
dims_d
-
-
object
-
-
ArrayType(Type, int)
-
-
baseType()
-
-
dims()
-
-
distanceTo(Type)
- The distance between array types is defined to be that of the base
types if positive or zero and the dimensions identical.
-
identicalTo(Type)
-
-
subTypeOf(Type)
-
-
superTypeOf(Type)
-
-
toClassFileType()
- Map an Espresso type to a ClassGen one.
-
toString()
-
dims_d
int dims_d
baseType_d
Type baseType_d
object
static Type object
cloneable
static Type cloneable
ArrayType
public ArrayType(Type baseType,
int dims)
dims
public int dims()
baseType
public Type baseType()
identicalTo
public boolean identicalTo(Type other)
- Overrides:
- identicalTo in class ReferenceType
subTypeOf
public boolean subTypeOf(Type other)
- Overrides:
- subTypeOf in class ReferenceType
superTypeOf
public boolean superTypeOf(Type other)
- Overrides:
- superTypeOf in class ReferenceType
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
toString
public String toString()
- Overrides:
- toString in class Type
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