soot.baf.internal
Class AbstractInst

java.lang.Object
  |
  +--soot.tagkit.AbstractHost
        |
        +--soot.AbstractUnit
              |
              +--soot.baf.internal.AbstractInst
All Implemented Interfaces:
Host, Inst, java.io.Serializable, Switchable, Unit
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

Field Summary
 
Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
AbstractInst()
           
 
Method Summary
 boolean branches()
          Returns true if execution after this statement is not the following statement.
 java.lang.Object clone()
          Returns a deep clone of this object.
 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  java.lang.String toString(boolean isBrief, java.util.Map unitToName, java.lang.String indentation)
          Returns a textual representation of this object, with the given briefness, Map and indentation.
 
Methods inherited from class soot.AbstractUnit
apply, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from class soot.tagkit.AbstractHost
addTag, getTag, getTags, hasTag, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.baf.Inst
toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from interface soot.Unit
getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo
 
Methods inherited from interface soot.util.Switchable
apply
 
Methods inherited from interface soot.tagkit.Host
addTag, getTag, getTags, hasTag, removeTag
 

Constructor Detail

AbstractInst

public AbstractInst()
Method Detail

toString

protected java.lang.String toString(boolean isBrief,
                                    java.util.Map unitToName,
                                    java.lang.String indentation)
Description copied from class: AbstractUnit
Returns a textual representation of this object, with the given briefness, Map and indentation.

Specified by:
toString in class AbstractUnit

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.

Specified by:
fallsThrough in interface Unit

branches

public boolean branches()
Description copied from interface: Unit
Returns true if execution after this statement is not the following statement.

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 java.lang.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 java.lang.String getName()