soot.jimple
Class JimpleBody

java.lang.Object
  |
  +--soot.Body
        |
        +--soot.jimple.StmtBody
              |
              +--soot.jimple.JimpleBody

public class JimpleBody
extends StmtBody

Implementation of the Body class for the Jimple IR.


Fields inherited from class soot.Body
localChain, method, trapChain, unitChain
 
Method Summary
 void applyPhaseOptions(java.util.Map options)
          Applies the transformations corresponding to the given options.
 java.lang.Object clone()
          Clones the current body, making deep copies of the contents.
 Stmt getFirstNonIdentityStmt()
          Returns the first non-identity stmt in this body.
 Local getParameterLocal(int i)
           
 Local getThisLocal()
           
 void insertIdentityStmts()
          Inserts usual statements for handling this & parameters into body.
 void validate()
          Make sure that the JimpleBody is well formed.
 
Methods inherited from class soot.Body
getDefBoxes, getLocalCount, getLocals, getMethod, getTraps, getUnitBoxes, getUnits, getUseAndDefBoxes, getUseBoxes, importBodyContentsFrom, printDebugTo, printTo, printTo, setMethod, validateLocals, validateTraps, validateUnitBoxes, validateUses
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clone

public java.lang.Object clone()
Clones the current body, making deep copies of the contents.
Overrides:
clone in class Body

applyPhaseOptions

public void applyPhaseOptions(java.util.Map options)
Applies the transformations corresponding to the given options.

validate

public void validate()
Make sure that the JimpleBody is well formed. If not, throw an exception. Right now, performs only a handful of checks.
Overrides:
validate in class Body

insertIdentityStmts

public void insertIdentityStmts()
Inserts usual statements for handling this & parameters into body.

getFirstNonIdentityStmt

public Stmt getFirstNonIdentityStmt()
Returns the first non-identity stmt in this body.

getThisLocal

public Local getThisLocal()

getParameterLocal

public Local getParameterLocal(int i)