public abstract class AbstractJimpleBodyBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected JimpleBody |
body |
Constructor and Description |
---|
AbstractJimpleBodyBuilder() |
Modifier and Type | Method and Description |
---|---|
AbstractJimpleBodyBuilder |
base() |
void |
base(AbstractJimpleBodyBuilder base) |
protected Value |
createAggressiveExpr(polyglot.ast.Expr expr,
boolean reduceAggressively,
boolean reverseCondIfNec) |
protected JimpleBody |
createJimpleBody(polyglot.ast.Block block,
java.util.List formals,
SootMethod sootMethod) |
protected Value |
createLHS(polyglot.ast.Expr expr) |
protected void |
createStmt(polyglot.ast.Stmt stmt) |
AbstractJimpleBodyBuilder |
ext() |
void |
ext(AbstractJimpleBodyBuilder ext) |
protected Local |
generateLocal(polyglot.types.Type polyglotType) |
protected Local |
generateLocal(Type sootType) |
protected Value |
getAssignRightLocal(polyglot.ast.Assign assign,
Local leftLocal) |
protected Value |
getBaseLocal(polyglot.ast.Receiver receiver) |
protected Constant |
getConstant(Type sootType,
int val) |
protected FieldRef |
getFieldRef(polyglot.ast.Field field) |
protected Value |
getSimpleAssignRightLocal(polyglot.ast.Assign assign) |
protected SootMethodRef |
getSootMethodRef(polyglot.ast.Call call) |
protected Local |
getThis(Type sootType) |
protected Local |
handlePrivateFieldAssignSet(polyglot.ast.Assign assign) |
protected Local |
handlePrivateFieldSet(polyglot.ast.Expr expr,
Value right,
Value base) |
protected Local |
handlePrivateFieldUnarySet(polyglot.ast.Unary unary) |
protected boolean |
needsAccessor(polyglot.ast.Expr expr) |
protected JimpleBody body
public void ext(AbstractJimpleBodyBuilder ext)
public AbstractJimpleBodyBuilder ext()
public void base(AbstractJimpleBodyBuilder base)
public AbstractJimpleBodyBuilder base()
protected JimpleBody createJimpleBody(polyglot.ast.Block block, java.util.List formals, SootMethod sootMethod)
protected Value createAggressiveExpr(polyglot.ast.Expr expr, boolean reduceAggressively, boolean reverseCondIfNec)
protected void createStmt(polyglot.ast.Stmt stmt)
protected boolean needsAccessor(polyglot.ast.Expr expr)
protected Local handlePrivateFieldAssignSet(polyglot.ast.Assign assign)
protected Local handlePrivateFieldUnarySet(polyglot.ast.Unary unary)
protected Value getAssignRightLocal(polyglot.ast.Assign assign, Local leftLocal)
protected Value getSimpleAssignRightLocal(polyglot.ast.Assign assign)
protected Local handlePrivateFieldSet(polyglot.ast.Expr expr, Value right, Value base)
protected SootMethodRef getSootMethodRef(polyglot.ast.Call call)
protected Local generateLocal(polyglot.types.Type polyglotType)
protected Value getBaseLocal(polyglot.ast.Receiver receiver)
protected Value createLHS(polyglot.ast.Expr expr)
protected FieldRef getFieldRef(polyglot.ast.Field field)