soot.baf.internal
Class AbstractInst
java.lang.Object
soot.tagkit.AbstractHost
soot.AbstractUnit
soot.baf.internal.AbstractInst
- All Implemented Interfaces:
- Serializable, Inst, Context, Host, Unit, Switchable
- Direct Known Subclasses:
- AbstractBranchInst, AbstractOpTypeInst, AbstractRefTypeInst, BArrayLengthInst, BDupInst, BDynamicInvokeInst, BEnterMonitorInst, BExitMonitorInst, BFieldGetInst, BFieldPutInst, BIdentityInst, BIncInst, BInstanceCastInst, BInstanceOfInst, BInterfaceInvokeInst, BLookupSwitchInst, BNewArrayInst, BNewMultiArrayInst, BNopInst, BPopInst, BPrimitiveCastInst, BPushInst, BReturnVoidInst, BSpecialInvokeInst, BStaticGetInst, BStaticInvokeInst, BStaticPutInst, BSwapInst, BTableSwitchInst, BThrowInst, BVirtualInvokeInst, PlaceholderInst
public abstract class AbstractInst
- extends AbstractUnit
- implements Inst
- See Also:
- Serialized Form
AbstractInst
public AbstractInst()
toString
public String toString()
- Overrides:
toString
in class Object
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface Unit
getInCount
public int getInCount()
- Specified by:
getInCount
in interface Inst
getOutCount
public int getOutCount()
- Specified by:
getOutCount
in interface Inst
getNetCount
public int getNetCount()
- Specified by:
getNetCount
in interface Inst
fallsThrough
public boolean fallsThrough()
- Description copied from interface:
Unit
- Returns true if execution after this statement may continue at the following statement.
GotoStmt will return false but IfStmt will return true.
- Specified by:
fallsThrough
in interface Unit
branches
public boolean branches()
- Description copied from interface:
Unit
- Returns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.
- Specified by:
branches
in interface Unit
getInMachineCount
public int getInMachineCount()
- Specified by:
getInMachineCount
in interface Inst
getOutMachineCount
public int getOutMachineCount()
- Specified by:
getOutMachineCount
in interface Inst
getNetMachineCount
public int getNetMachineCount()
- Specified by:
getNetMachineCount
in interface Inst
clone
public Object clone()
- Description copied from class:
AbstractUnit
- Returns a deep clone of this object.
- Specified by:
clone
in interface Unit
- Specified by:
clone
in class AbstractUnit
getName
public abstract String getName()
getParameters
protected void getParameters(UnitPrinter up)
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExpr
in interface Inst
containsArrayRef
public boolean containsArrayRef()
- Specified by:
containsArrayRef
in interface Inst
containsFieldRef
public boolean containsFieldRef()
- Specified by:
containsFieldRef
in interface Inst
containsNewExpr
public boolean containsNewExpr()
- Specified by:
containsNewExpr
in interface Inst