|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soot.jimple.ParameterRef
public class 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. |
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(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. |
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. |
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(Object o)
EquivTo
equivTo
in interface EquivTo
public int equivHashCode()
EquivTo
equivHashCode
in interface EquivTo
public Object clone()
clone
in interface Value
clone
in class Object
public String toString()
@parameter0: .int
.
toString
in class Object
public void toString(UnitPrinter up)
toString
in interface Value
public int getIndex()
public void setIndex(int index)
public List getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
getType
in interface Value
public void apply(Switch sw)
apply
in interface Switchable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |