Package soot.baf.internal
Class BIncInst
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.baf.internal.AbstractInst
-
- soot.baf.internal.BIncInst
-
- All Implemented Interfaces:
Serializable,IncInst,Inst,Context,Host,Unit,Switchable
public class BIncInst extends AbstractInst implements IncInst
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
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.ConstantgetConstant()List<ValueBox>getDefBoxes()Returns a list of Boxes containing Values defined in this Unit.intgetInCount()intgetInMachineCount()LocalgetLocal()StringgetName()intgetOutCount()intgetOutMachineCount()protected voidgetParameters(UnitPrinter up)List<ValueBox>getUseBoxes()Returns a list of Boxes containing Values used in this Unit.voidsetConstant(Constant aConstant)voidsetLocal(Local l)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.baf.internal.AbstractInst
branches, containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, fallsThrough, getNetCount, getNetMachineCount
-
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
-
getConstant
public Constant getConstant()
- Specified by:
getConstantin interfaceIncInst
-
setConstant
public void setConstant(Constant aConstant)
- Specified by:
setConstantin interfaceIncInst
-
getName
public final String getName()
- Specified by:
getNamein classAbstractInst
-
getParameters
protected void getParameters(UnitPrinter up)
- Overrides:
getParametersin classAbstractInst
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnitUsed to implement the Switchable construct.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin 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
-
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
-
toString
public String toString()
- Overrides:
toStringin classAbstractInst
-
toString
public void toString(UnitPrinter up)
- Specified by:
toStringin interfaceUnit- Overrides:
toStringin classAbstractInst
-
-