Package soot.baf.internal
Class BJSRInst
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.baf.internal.AbstractInst
-
- soot.baf.internal.AbstractBranchInst
-
- soot.baf.internal.BJSRInst
-
- All Implemented Interfaces:
Serializable,Inst,JSRInst,TargetArgInst,Context,Host,Unit,Switchable
public class BJSRInst extends AbstractBranchInst implements JSRInst
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Used to implement the Switchable construct.booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.Objectclone()Returns a deep clone of this object.booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.intgetInCount()intgetInMachineCount()StringgetName()intgetOutCount()intgetOutMachineCount()-
Methods inherited from class soot.baf.internal.AbstractBranchInst
getTarget, getTargetBox, getUnitBoxes, setTarget, toString, toString
-
Methods inherited from class soot.baf.internal.AbstractInst
containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCount, getParameters
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, 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.baf.Inst
containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCount
-
Methods inherited from interface soot.baf.TargetArgInst
getTarget, getTargetBox, setTarget
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis, toString
-
-
-
-
Constructor Detail
-
BJSRInst
public BJSRInst(Unit target)
-
-
Method Detail
-
clone
public Object clone()
Description copied from class:AbstractUnitReturns a deep clone of this object.- Specified by:
clonein interfaceUnit- Overrides:
clonein classAbstractInst
-
getInMachineCount
public int getInMachineCount()
- Specified by:
getInMachineCountin interfaceInst- Overrides:
getInMachineCountin classAbstractInst
-
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.- Specified by:
branchesin interfaceUnit- Overrides:
branchesin classAbstractBranchInst
-
getInCount
public int getInCount()
- Specified by:
getInCountin interfaceInst- Overrides:
getInCountin classAbstractInst
-
getOutCount
public int getOutCount()
- Specified by:
getOutCountin interfaceInst- Overrides:
getOutCountin classAbstractInst
-
getOutMachineCount
public int getOutMachineCount()
- Specified by:
getOutMachineCountin interfaceInst- Overrides:
getOutMachineCountin classAbstractInst
-
getName
public String getName()
- Specified by:
getNamein classAbstractInst
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnitUsed to implement the Switchable construct.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classAbstractUnit
-
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- Overrides:
fallsThroughin classAbstractInst
-
-