public class BafLocal extends java.lang.Object implements Local
| Constructor and Description |
|---|
BafLocal(java.lang.String name,
Type t) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch s)
Called when this object is visited.
|
java.lang.Object |
clone()
Returns a clone of this Value.
|
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o.
|
java.lang.String |
getName()
Returns the name of the current Local variable.
|
int |
getNumber() |
Local |
getOriginalLocal() |
Type |
getType()
Returns the Soot type of this Value.
|
java.util.List<ValueBox> |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
void |
setName(java.lang.String name)
Sets the name of the current variable.
|
void |
setNumber(int number) |
void |
setOriginalLocal(Local l) |
void |
setType(Type t)
Sets the type of the current variable.
|
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
public BafLocal(java.lang.String name,
Type t)
public boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
equivHashCode in interface EquivTopublic java.lang.Object clone()
Valuepublic Local getOriginalLocal()
public void setOriginalLocal(Local l)
public java.lang.String getName()
Localpublic void setName(java.lang.String name)
Localpublic Type getType()
Valuepublic void setType(Type t)
Localpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public java.util.List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic void apply(Switch s)
Switchableapply in interface Switchablepublic final int getNumber()
getNumber in interface Numberablepublic final void setNumber(int number)
setNumber in interface Numberable