|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.Type
public abstract class Type
Represents types within Soot, eg int
, java.lang.String
.
Field Summary | |
---|---|
protected ArrayType |
arrayType
|
Constructor Summary | |
---|---|
Type()
|
Method Summary | |
---|---|
void |
apply(Switch sw)
Method required for use of Switchable. |
ArrayType |
getArrayType()
|
int |
getNumber()
|
ArrayType |
makeArrayType()
|
Type |
merge(Type other,
Scene cm)
Returns the least common superclass of this type and other. |
void |
setArrayType(ArrayType at)
|
void |
setNumber(int number)
|
static Type |
toMachineType(Type t)
Converts the int-like types (short, byte, boolean and char) to IntType. |
abstract String |
toString()
Returns a textual representation of this type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ArrayType arrayType
Constructor Detail |
---|
public Type()
Method Detail |
---|
public abstract String toString()
toString
in class Object
public static Type toMachineType(Type t)
public Type merge(Type other, Scene cm)
public void apply(Switch sw)
apply
in interface Switchable
public void setArrayType(ArrayType at)
public ArrayType getArrayType()
public ArrayType makeArrayType()
public final int getNumber()
getNumber
in interface Numberable
public final void setNumber(int number)
setNumber
in interface Numberable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |