public class JimpleLocal extends Object implements Local, ConvertToBaf
| Constructor and Description |
|---|
JimpleLocal(String name,
Type type)
Constructs a JimpleLocal of the given name and type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
Object |
clone()
Returns a clone of the current JimpleLocal.
|
void |
convertToBaf(JimpleToBafContext context,
List<Unit> out) |
int |
equivHashCode()
Returns a hash code for this object, consistent with structural equality.
|
boolean |
equivTo(Object o)
Returns true if the given object is structurally equal to this one.
|
String |
getName()
Returns the name of this object.
|
int |
getNumber() |
Type |
getType()
Returns the type of this local.
|
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 this object as given.
|
void |
setNumber(int number) |
void |
setType(Type t)
Sets the type of this local.
|
String |
toString() |
void |
toString(UnitPrinter up) |
protected String name
public boolean equivTo(Object o)
public int equivHashCode()
equivHashCode in interface EquivTopublic Object clone()
public String getName()
public void setName(String name)
public Type getType()
public void setType(Type t)
public void toString(UnitPrinter up)
public final List<ValueBox> getUseBoxes()
ValuegetUseBoxes in interface Valuepublic void apply(Switch sw)
Switchableapply in interface Switchablepublic void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf in interface ConvertToBafpublic final int getNumber()
getNumber in interface Numberablepublic void setNumber(int number)
setNumber in interface NumberableCopyright © 2020 Soot OSS. All rights reserved.