Package soot.baf.internal
Class BIdentityInst
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.baf.internal.AbstractInst
-
- soot.baf.internal.BIdentityInst
-
- All Implemented Interfaces:
Serializable,IdentityInst,Inst,Context,IdentityUnit,Host,Unit,Switchable
public class BIdentityInst extends AbstractInst implements IdentityInst
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBIdentityInst(ValueBox localBox, ValueBox identityValueBox)BIdentityInst(Value local, Value identityValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Used to implement the Switchable construct.Objectclone()Returns a deep clone of this object.List<ValueBox>getDefBoxes()Returns a list of Boxes containing Values defined in this Unit.intgetInCount()intgetInMachineCount()ValuegetLeftOp()ValueBoxgetLeftOpBox()StringgetName()intgetOutCount()intgetOutMachineCount()ValuegetRightOp()ValueBoxgetRightOpBox()List<ValueBox>getUseBoxes()Returns a list of Boxes containing Values used in this Unit.voidsetLeftOp(Value local)voidsetRightOp(Value identityRef)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.baf.internal.AbstractInst
branches, containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, fallsThrough, getNetCount, getNetMachineCount, getParameters
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from interface soot.baf.Inst
containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCount
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Method Detail
-
clone
public Object clone()
Description copied from class:AbstractUnitReturns a deep clone of this object.- Specified by:
clonein interfaceUnit- Overrides:
clonein classAbstractInst
-
getInCount
public int getInCount()
- Specified by:
getInCountin interfaceInst- Overrides:
getInCountin classAbstractInst
-
getInMachineCount
public int getInMachineCount()
- Specified by:
getInMachineCountin interfaceInst- Overrides:
getInMachineCountin classAbstractInst
-
getOutCount
public int getOutCount()
- Specified by:
getOutCountin interfaceInst- Overrides:
getOutCountin classAbstractInst
-
getOutMachineCount
public int getOutMachineCount()
- Specified by:
getOutMachineCountin interfaceInst- Overrides:
getOutMachineCountin classAbstractInst
-
getLeftOp
public Value getLeftOp()
- Specified by:
getLeftOpin interfaceIdentityUnit
-
getRightOp
public Value getRightOp()
- Specified by:
getRightOpin interfaceIdentityUnit
-
getLeftOpBox
public ValueBox getLeftOpBox()
- Specified by:
getLeftOpBoxin interfaceIdentityUnit
-
getRightOpBox
public ValueBox getRightOpBox()
- Specified by:
getRightOpBoxin interfaceIdentityUnit
-
getDefBoxes
public List<ValueBox> getDefBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Values defined in this Unit. The list of boxes is dynamically updated as the structure changes.- Specified by:
getDefBoxesin interfaceUnit- Overrides:
getDefBoxesin classAbstractUnit
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Values used in this Unit. The list of boxes is dynamically updated as the structure changes. Note that they are returned in usual evaluation order. (this is important for aggregation)- Specified by:
getUseBoxesin interfaceUnit- Overrides:
getUseBoxesin classAbstractUnit
-
toString
public String toString()
- Overrides:
toStringin classAbstractInst
-
toString
public void toString(UnitPrinter up)
- Specified by:
toStringin interfaceUnit- Overrides:
toStringin classAbstractInst
-
getName
public final String getName()
- Specified by:
getNamein classAbstractInst
-
setLeftOp
public void setLeftOp(Value local)
- Specified by:
setLeftOpin interfaceIdentityInst
-
setRightOp
public void setRightOp(Value identityRef)
- Specified by:
setRightOpin interfaceIdentityInst
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnitUsed to implement the Switchable construct.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classAbstractUnit
-
-