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)
EquivTo
public int equivHashCode()
equivHashCode
in interface EquivTo
public java.lang.Object clone()
Value
public Local getOriginalLocal()
public void setOriginalLocal(Local l)
public java.lang.String getName()
Local
public void setName(java.lang.String name)
Local
public Type getType()
Value
public void setType(Type t)
Local
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public java.util.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