public class TemporaryRegisterLocal extends Object implements Local
Constructor and Description |
---|
TemporaryRegisterLocal(Type regType) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
Local |
clone()
Returns a clone of this Value.
|
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.
|
String |
getName()
Returns the name of the current Local variable.
|
int |
getNumber() |
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 |
setType(Type t)
Sets the type of the current variable.
|
void |
toString(UnitPrinter up) |
public TemporaryRegisterLocal(Type regType)
public final List<ValueBox> getUseBoxes()
Value
getUseBoxes
in interface Value
public Type getType()
Value
public void toString(UnitPrinter up)
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public boolean equivTo(Object o)
EquivTo
public int equivHashCode()
EquivTo
equivHashCode
in interface EquivTo
public void setNumber(int number)
setNumber
in interface Numberable
public int getNumber()
getNumber
in interface Numberable
public String getName()
Local
public void setName(String name)
Local
Copyright © 2020 Sable. All rights reserved.