soot.baf.internal
Class AbstractInst

java.lang.Object
  extended by soot.tagkit.AbstractHost
      extended by soot.AbstractUnit
          extended by 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

Field Summary
 
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.
 Object clone()
          Returns a deep clone of this object.
 boolean containsArrayRef()
           
 boolean containsFieldRef()
           
 boolean containsInvokeExpr()
           
 boolean containsNewExpr()
           
 boolean fallsThrough()
          Returns true if execution after this statement may continue at the following statement.
 int getInCount()
           
 int getInMachineCount()
           
abstract  String getName()
           
 int getNetCount()
           
 int getNetMachineCount()
           
 int getOutCount()
           
 int getOutMachineCount()
           
protected  void getParameters(UnitPrinter up)
           
 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
 
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
 
Methods inherited from interface soot.util.Switchable
apply
 
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 

Constructor Detail

AbstractInst

public AbstractInst()
Method Detail

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