|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.Type | +--soot.ArrayType
A class that models Java's array types. ArrayTypes are parametrized by a BaseType and and an integer representing the array's dimension count.. Two ArrayType are 'equal' if they are parametrized equally.
Field Summary | |
BaseType |
baseType
baseType can be any type except for an array type, null and void |
int |
numDimensions
dimension count for the array type |
Fields inherited from class soot.Type |
typeNum |
Method Summary | |
void |
apply(Switch sw)
Method required for use of Switchable. |
boolean |
equals(java.lang.Object t)
Two ArrayType are 'equal' if they are parametrized identically. |
Type |
getArrayElementType()
|
Type |
getElementType()
|
int |
hashCode()
|
java.lang.String |
toBriefString()
Returns a brief textual representation of this type. |
java.lang.String |
toString()
Returns a textual representation of this type. |
static ArrayType |
v(BaseType baseType,
int numDimensions)
Creates an ArrayType parametrized by a given BaseType and dimension count. |
Methods inherited from class soot.Type |
merge, toMachineType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final BaseType baseType
BaseType
public final int numDimensions
Method Detail |
public static ArrayType v(BaseType baseType, int numDimensions)
baseType
- a BaseType to parametrize the ArrayTypenumDimensions
- the dimension count to parametrize the ArrayType.
public boolean equals(java.lang.Object t)
equals
in class java.lang.Object
t
- object to test for equality
public java.lang.String toBriefString()
Type
toBriefString
in interface ToBriefString
toBriefString
in class Type
public java.lang.String toString()
Type
toString
in class Type
public int hashCode()
hashCode
in class java.lang.Object
public void apply(Switch sw)
Type
apply
in interface Switchable
apply
in class Type
public Type getArrayElementType()
getArrayElementType
in interface RefLikeType
public Type getElementType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |