public class JimpleBody extends StmtBody
localChain, method, trapChain, unitChain
col, line, mTagList
Constructor and Description |
---|
JimpleBody()
Construct an extremely empty JimpleBody, for parsing into.
|
JimpleBody(SootMethod m)
Construct an empty JimpleBody
|
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 |
insertIdentityStmts(SootClass declaringClass)
Inserts usual statements for handling this & parameters into body.
|
void |
validate()
Make sure that the JimpleBody is well formed.
|
void |
validate(java.util.List<ValidationException> exceptionList)
Validates the jimple body and saves a list of all validation errors
|
void |
validateIdentityStatements() |
checkInit, getAllUnitBoxes, getDefBoxes, getLocalCount, getLocals, getMethod, getModificationCount, getParameterLocal, getParameterLocals, getParameterRefs, getThisLocal, getTraps, getUnitBoxes, getUnits, getUseAndDefBoxes, getUseBoxes, importBodyContentsFrom, runValidation, setMethod, toString, validateLocals, validateTraps, validateUnitBoxes, validateUses, validateValueBoxes
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public JimpleBody(SootMethod m)
public JimpleBody()
public java.lang.Object clone()
public void validate()
public void validate(java.util.List<ValidationException> exceptionList)
public void validateIdentityStatements()
public void insertIdentityStmts()
public void insertIdentityStmts(SootClass declaringClass)
declaringClass
- the class, which should be used for this references. Can be null for static methodspublic Stmt getFirstNonIdentityStmt()