Package soot.toDex
Class TemporaryRegisterLocal
- java.lang.Object
-
- soot.toDex.TemporaryRegisterLocal
-
- All Implemented Interfaces:
Serializable,EquivTo,Immediate,Local,Numberable,Switchable,Value
public class TemporaryRegisterLocal extends Object implements Local
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemporaryRegisterLocal(Type regType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.Localclone()Returns a clone of this Value.intequivHashCode()Returns a (not necessarily fixed) hash code for this object.booleanequivTo(Object o)Returns true if this object is equivalent to o.StringgetName()Returns the name of the current Local variable.intgetNumber()TypegetType()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.booleanisStackLocal()voidsetName(String name)Sets the name of the current variable.voidsetNumber(int number)voidsetType(Type t)Sets the type of the current variable.voidtoString(UnitPrinter up)
-
-
-
Constructor Detail
-
TemporaryRegisterLocal
public TemporaryRegisterLocal(Type regType)
-
-
Method Detail
-
getUseBoxes
public final List<ValueBox> getUseBoxes()
Description copied from interface:ValueReturns a List of boxes corresponding to Values which are used by (ie contained within) this Value.- Specified by:
getUseBoxesin interfaceValue
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
toString
public void toString(UnitPrinter up)
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceSwitchable
-
equivTo
public boolean equivTo(Object o)
Description copied from interface:EquivToReturns true if this object is equivalent to o.
-
equivHashCode
public int equivHashCode()
Description copied from interface:EquivToReturns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects.- Specified by:
equivHashCodein interfaceEquivTo
-
setNumber
public void setNumber(int number)
- Specified by:
setNumberin interfaceNumberable
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfaceNumberable
-
getName
public String getName()
Description copied from interface:LocalReturns the name of the current Local variable.
-
setName
public void setName(String name)
Description copied from interface:LocalSets the name of the current variable.
-
setType
public void setType(Type t)
Description copied from interface:LocalSets the type of the current variable.
-
isStackLocal
public boolean isStackLocal()
- Specified by:
isStackLocalin interfaceLocal
-
-