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 void
apply(Switch sw)
Used to implement the Switchable construct.Object
clone()
Returns a deep clone of this object.Constant
getConstant()
List<ValueBox>
getDefBoxes()
Returns a list of Boxes containing Values defined in this Unit.int
getInCount()
int
getInMachineCount()
Local
getLocal()
String
getName()
int
getOutCount()
int
getOutMachineCount()
protected void
getParameters(UnitPrinter up)
List<ValueBox>
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit.void
setConstant(Constant aConstant)
void
setLocal(Local l)
String
toString()
void
toString(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:AbstractUnit
Returns a deep clone of this object.- Specified by:
clone
in interfaceUnit
- Overrides:
clone
in classAbstractInst
-
getInCount
public int getInCount()
- Specified by:
getInCount
in interfaceInst
- Overrides:
getInCount
in classAbstractInst
-
getInMachineCount
public int getInMachineCount()
- Specified by:
getInMachineCount
in interfaceInst
- Overrides:
getInMachineCount
in classAbstractInst
-
getOutCount
public int getOutCount()
- Specified by:
getOutCount
in interfaceInst
- Overrides:
getOutCount
in classAbstractInst
-
getOutMachineCount
public int getOutMachineCount()
- Specified by:
getOutMachineCount
in interfaceInst
- Overrides:
getOutMachineCount
in classAbstractInst
-
getConstant
public Constant getConstant()
- Specified by:
getConstant
in interfaceIncInst
-
setConstant
public void setConstant(Constant aConstant)
- Specified by:
setConstant
in interfaceIncInst
-
getName
public final String getName()
- Specified by:
getName
in classAbstractInst
-
getParameters
protected void getParameters(UnitPrinter up)
- Overrides:
getParameters
in classAbstractInst
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnit
Used to implement the Switchable construct.- Specified by:
apply
in interfaceSwitchable
- Overrides:
apply
in classAbstractUnit
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from class:AbstractUnit
Returns 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:
getUseBoxes
in interfaceUnit
- Overrides:
getUseBoxes
in classAbstractUnit
-
getDefBoxes
public List<ValueBox> getDefBoxes()
Description copied from class:AbstractUnit
Returns a list of Boxes containing Values defined in this Unit. The list of boxes is dynamically updated as the structure changes.- Specified by:
getDefBoxes
in interfaceUnit
- Overrides:
getDefBoxes
in classAbstractUnit
-
toString
public String toString()
- Overrides:
toString
in classAbstractInst
-
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interfaceUnit
- Overrides:
toString
in classAbstractInst
-
-