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