|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.jimple.ParameterRef
ParameterRef
objects are used by Body
objects to refer to the parameter slots on method entry.
For instance, in an instance method, the first statement will
often be this := @parameter0;
Constructor Summary | |
ParameterRef(Type paramType,
int number)
Constructs a ParameterRef object of the specified type, representing the specified parameter number. |
Method Summary | |
void |
apply(Switch sw)
Used with RefSwitch. |
java.lang.Object |
clone()
Create a new ParameterRef object with the same paramType and number. |
int |
equivHashCode()
Returns a (not necessarily fixed) hash code for this object. |
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o. |
int |
getIndex()
Returns the index of this ParameterRef. |
Type |
getType()
Returns the type of this ParameterRef. |
java.util.List |
getUseBoxes()
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value. |
void |
setIndex(int index)
Sets the index of this ParameterRef. |
java.lang.String |
toString()
Converts the given ParameterRef into a String i.e. |
void |
toString(UnitPrinter up)
|
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ParameterRef(Type paramType, int number)
Method Detail |
public boolean equivTo(java.lang.Object o)
public int equivHashCode()
public java.lang.Object clone()
public java.lang.String toString()
@parameter0: .int
.public void toString(UnitPrinter up)
public int getIndex()
public void setIndex(int index)
public java.util.List getUseBoxes()
public Type getType()
public void apply(Switch sw)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |