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