public class JimpleBody extends StmtBody
localChain, localVariables, method, trapChain, unitChain| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
insertIdentityStmts()
Inserts usual statements for handling this & parameters into body.
|
void |
validate()
Make sure that the JimpleBody is well formed.
|
void |
validateIdentityStatements()
Checks the following invariants on this Jimple body:
this-references may only occur in instance methods
this-references may only occur as the first statement in a method, if they occur at all
param-references must precede all statements that are not themselves param-references or this-references,
if they occur at all
|
checkInit, getAllUnitBoxes, getDefBoxes, getLocalCount, getLocals, getLocalVariables, getMethod, getParameterLocal, getThisLocal, getTraps, getUnitBoxes, getUnits, getUseAndDefBoxes, getUseBoxes, importBodyContentsFrom, setMethod, toString, validateLocals, validateLocalVariables, validateTraps, validateUnitBoxes, validateUses, validateValueBoxesaddAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTagpublic java.lang.Object clone()
public void validate()
public void validateIdentityStatements()
public void insertIdentityStmts()
public Stmt getFirstNonIdentityStmt()
Copyright © 2012-2019 RoboVM AB. All Rights Reserved.