Package 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,AbstractInvokeInst,AbstractOpTypeInst,AbstractRefTypeInst,AbstractSwitchInst,BArrayLengthInst,BDupInst,BEnterMonitorInst,BExitMonitorInst,BFieldGetInst,BFieldPutInst,BIdentityInst,BIncInst,BInstanceCastInst,BInstanceOfInst,BNewArrayInst,BNewMultiArrayInst,BNopInst,BPopInst,BPrimitiveCastInst,BPushInst,BReturnVoidInst,BStaticGetInst,BStaticPutInst,BSwapInst,BThrowInst,PlaceholderInst
public abstract class AbstractInst extends AbstractUnit implements Inst
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Constructor Description AbstractInst()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.Objectclone()Returns a deep clone of this object.booleancontainsArrayRef()booleancontainsFieldRef()booleancontainsInvokeExpr()booleancontainsNewExpr()booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.intgetInCount()intgetInMachineCount()abstract StringgetName()intgetNetCount()intgetNetMachineCount()intgetOutCount()intgetOutMachineCount()protected voidgetParameters(UnitPrinter up)StringtoString()voidtoString(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, 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.util.Switchable
apply
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Method Detail
-
getName
public abstract String getName()
-
clone
public Object clone()
Description copied from class:AbstractUnitReturns a deep clone of this object.- Specified by:
clonein interfaceUnit- Specified by:
clonein classAbstractUnit
-
toString
public void toString(UnitPrinter up)
-
getInCount
public int getInCount()
- Specified by:
getInCountin interfaceInst
-
getOutCount
public int getOutCount()
- Specified by:
getOutCountin interfaceInst
-
getNetCount
public int getNetCount()
- Specified by:
getNetCountin interfaceInst
-
fallsThrough
public boolean fallsThrough()
Description copied from interface:UnitReturns true if execution after this statement may continue at the following statement. GotoStmt will return false but IfStmt will return true.- Specified by:
fallsThroughin interfaceUnit
-
branches
public boolean branches()
Description copied from interface:UnitReturns 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:
getInMachineCountin interfaceInst
-
getOutMachineCount
public int getOutMachineCount()
- Specified by:
getOutMachineCountin interfaceInst
-
getNetMachineCount
public int getNetMachineCount()
- Specified by:
getNetMachineCountin interfaceInst
-
getParameters
protected void getParameters(UnitPrinter up)
-
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExprin interfaceInst
-
containsArrayRef
public boolean containsArrayRef()
- Specified by:
containsArrayRefin interfaceInst
-
containsFieldRef
public boolean containsFieldRef()
- Specified by:
containsFieldRefin interfaceInst
-
containsNewExpr
public boolean containsNewExpr()
- Specified by:
containsNewExprin interfaceInst
-
-