public final class ArrayType extends ReferenceType
Constructor and Description |
---|
ArrayType(byte type,
int dimensions)
Convenience constructor for array type, e.g.
|
ArrayType(String class_name,
int dimensions)
Convenience constructor for reference array type, e.g.
|
ArrayType(Type type,
int dimensions)
Constructor for array of given type
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object _type) |
Type |
getBasicType() |
int |
getDimensions() |
Type |
getElementType() |
int |
hashCode() |
firstCommonSuperclass, getFirstCommonSuperclass, isAssignmentCompatibleWith, isCastableTo
getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, getTypes, toString
public ArrayType(byte type, int dimensions)
type
- array type, e.g. T_INTpublic ArrayType(String class_name, int dimensions)
class_name
- complete name of class (java.lang.String, e.g.)public ArrayType(Type type, int dimensions)
type
- type of array (may be an array itself)public Type getBasicType()
public Type getElementType()
public int getDimensions()
public int hashCode()