Class AbstractJimpleBodyBuilder

    • Constructor Detail

      • AbstractJimpleBodyBuilder

        public AbstractJimpleBodyBuilder()
    • Method Detail

      • createJimpleBody

        protected JimpleBody createJimpleBody​(polyglot.ast.Block block,
                                              List formals,
                                              SootMethod sootMethod)
      • createAggressiveExpr

        protected Value createAggressiveExpr​(polyglot.ast.Expr expr,
                                             boolean reduceAggressively,
                                             boolean reverseCondIfNec)
      • createStmt

        protected void createStmt​(polyglot.ast.Stmt stmt)
      • needsAccessor

        protected boolean needsAccessor​(polyglot.ast.Expr expr)
      • handlePrivateFieldAssignSet

        protected Local handlePrivateFieldAssignSet​(polyglot.ast.Assign assign)
      • handlePrivateFieldUnarySet

        protected Local handlePrivateFieldUnarySet​(polyglot.ast.Unary unary)
      • getAssignRightLocal

        protected Value getAssignRightLocal​(polyglot.ast.Assign assign,
                                            Local leftLocal)
      • getSimpleAssignRightLocal

        protected Value getSimpleAssignRightLocal​(polyglot.ast.Assign assign)
      • handlePrivateFieldSet

        protected Local handlePrivateFieldSet​(polyglot.ast.Expr expr,
                                              Value right,
                                              Value base)
      • getSootMethodRef

        protected SootMethodRef getSootMethodRef​(polyglot.ast.Call call)
      • generateLocal

        protected Local generateLocal​(Type sootType)
      • generateLocal

        protected Local generateLocal​(polyglot.types.Type polyglotType)
      • getThis

        protected Local getThis​(Type sootType)
      • getBaseLocal

        protected Value getBaseLocal​(polyglot.ast.Receiver receiver)
      • createLHS

        protected Value createLHS​(polyglot.ast.Expr expr)
      • getFieldRef

        protected FieldRef getFieldRef​(polyglot.ast.Field field)
      • getConstant

        protected Constant getConstant​(Type sootType,
                                       int val)