soot.baf.internal
Class AbstractInst

java.lang.Object
  |
  +--soot.tagkit.AbstractHost
        |
        +--soot.AbstractUnit
              |
              +--soot.baf.internal.AbstractInst
Direct Known Subclasses:
AbstractBranchInst, soot.baf.internal.AbstractInvokeInst, AbstractOpTypeInst, AbstractRefTypeInst, BArrayLengthInst, BDupInst, BEnterMonitorInst, BExitMonitorInst, BFieldGetInst, BFieldPutInst, BIdentityInst, BIncInst, BInstanceCastInst, BInstanceOfInst, BLookupSwitchInst, BNewArrayInst, BNewMultiArrayInst, BNopInst, BPopInst, BPrimitiveCastInst, BPushInst, BReturnVoidInst, BStaticGetInst, BStaticPutInst, BSwapInst, BTableSwitchInst, BThrowInst, PlaceholderInst

public abstract class AbstractInst
extends AbstractUnit
implements Inst

See Also:
Serialized Form

Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
AbstractInst()
           
 
Method Summary
 boolean branches()
          Returns true if execution after this statement does not necessarily continue at the following statement.
 java.lang.Object clone()
          Returns a deep clone of this object.
 boolean containsArrayRef()
           
 boolean containsFieldRef()
           
 boolean containsInvokeExpr()
           
 boolean fallsThrough()
          Returns true if execution after this statement may continue at the following statement.
 int getInCount()
           
 int getInMachineCount()
           
abstract  java.lang.String getName()
           
 int getNetCount()
           
 int getNetMachineCount()
           
 int getOutCount()
           
 int getOutMachineCount()
           
protected  void getParameters(UnitPrinter up)
           
 java.lang.String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
 
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractInst

public AbstractInst()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public void toString(UnitPrinter up)

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.

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.

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 java.lang.Object clone()
Description copied from class: AbstractUnit
Returns a deep clone of this object.
Overrides:
clone in class AbstractUnit

getName

public abstract java.lang.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