Uses of Class
javassist.compiler.ast.ASTree
-
Packages that use ASTree Package Description javassist The Javassist Core API.javassist.compiler javassist.compiler.ast -
-
Uses of ASTree in javassist
Fields in javassist declared as ASTree Modifier and Type Field Description private ASTreeCtField.PtreeInitializer. expressionMethods in javassist that return ASTree Modifier and Type Method Description protected ASTreeCtField. getInitAST()Methods in javassist with parameters of type ASTree Modifier and Type Method Description (package private) static CtField.InitializerCtField.Initializer. byExpr(ASTree source)(package private) intCtField.CodeInitializer0. getConstantValue2(ConstPool cp, CtClass type, ASTree tree)Constructors in javassist with parameters of type ASTree Constructor Description PtreeInitializer(ASTree expr) -
Uses of ASTree in javassist.compiler
Fields in javassist.compiler declared as ASTree Modifier and Type Field Description private ASTreeNoFieldException. exprprivate ASTreeJavac.CtFieldWithInit. initMethods in javassist.compiler that return ASTree Modifier and Type Method Description private ASTreeParser. binaryExpr2(SymbolTable tbl, ASTree expr, int prec)private static ASTreeTypeChecker. getConstantFieldValue(Member mem)If MEM is a static final field, this method returns a constant expression representing the value of that field.static ASTreeTypeChecker. getConstantFieldValue(CtField f)ASTreeNoFieldException. getExpr()protected ASTreeJavac.CtFieldWithInit. getInitAST()private ASTreeParser. parseArrayIndex(SymbolTable tbl)private ASTreeParser. parseBinaryExpr(SymbolTable tbl)private ASTreeParser. parseCast(SymbolTable tbl)private ASTreeParser. parseConditionalExpr(SymbolTable tbl)private ASTreeParser. parseDotClass(int builtinType, int dim)private ASTreeParser. parseDotClass(ASTree className, int dim)static ASTreeJavac. parseExpr(java.lang.String src, SymbolTable st)Parsers an expression.ASTreeParser. parseExpression(SymbolTable tbl)private ASTreeParser. parseInitializer(SymbolTable tbl)private ASTreeParser. parseInstanceOf(SymbolTable tbl, ASTree expr)private ASTreeParser. parseMethodCall(SymbolTable tbl, ASTree expr)private ASTreeParser. parseParExpression(SymbolTable tbl)private ASTreeParser. parsePostfix(SymbolTable tbl)private ASTreeParser. parsePrimaryExpr(SymbolTable tbl)private ASTreeParser. parseUnaryExpr(SymbolTable tbl)(package private) static ASTreeTypeChecker. stripPlusExpr(ASTree expr)Methods in javassist.compiler with parameters of type ASTree Modifier and Type Method Description protected voidCodeGen. arrayAccess(ASTree array, ASTree index)private voidCodeGen. atArrayAssign(Expr expr, int op, Expr array, ASTree right, boolean doDup)private voidTypeChecker. atArrayAssign(Expr expr, int op, Expr array, ASTree right)private voidMemberCodeGen. atArrayLength(ASTree expr)voidCodeGen. atArrayRead(ASTree array, ASTree index)voidTypeChecker. atArrayRead(ASTree array, ASTree index)protected voidCodeGen. atAssignCore(Expr expr, int op, ASTree right, int type, int dim, java.lang.String cname)protected abstract voidCodeGen. atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)protected voidJvstCodeGen. atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)protected voidJvstTypeChecker. atFieldAssign(Expr expr, int op, ASTree left, ASTree right)protected voidMemberCodeGen. atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)protected voidTypeChecker. atFieldAssign(Expr expr, int op, ASTree left, ASTree right)protected abstract voidCodeGen. atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup)protected voidMemberCodeGen. atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup)protected voidTypeChecker. atFieldPlusPlus(ASTree oprand)protected abstract voidCodeGen. atFieldRead(ASTree expr)protected voidMemberCodeGen. atFieldRead(ASTree expr)private voidTypeChecker. atFieldRead(ASTree expr)private voidMemberCodeGen. atNewArrayExpr2(int type, ASTree sizeExpr, java.lang.String jvmClassname, ArrayInit init)private voidCodeGen. atPlusPlus(int token, ASTree oprand, Expr expr, boolean doDup)private voidTypeChecker. atPlusPlus(int token, ASTree oprand, Expr expr)protected voidCodeGen. atReturnStmnt2(ASTree result)private voidCodeGen. atStringPlusEq(Expr expr, int type, int dim, java.lang.String cname, ASTree right)private voidCodeGen. atVariableAssign(Expr expr, int op, Variable var, Declarator d, ASTree right, boolean doDup)private voidTypeChecker. atVariableAssign(Expr expr, int op, Variable var, Declarator d, ASTree right)private ASTreeParser. binaryExpr2(SymbolTable tbl, ASTree expr, int prec)private booleanCodeGen. booleanExpr(boolean branchIf, ASTree expr)private voidTypeChecker. booleanExpr(ASTree expr)booleanCodeGen. compileBooleanExpr(boolean branchIf, ASTree expr)voidCodeGen. compileExpr(ASTree expr)voidJavac. compileExpr(ASTree e)Compiles an exression.(package private) voidJvstCodeGen. compileInvokeSpecial(ASTree target, int methodIndex, java.lang.String descriptor, ASTList args)(package private) voidJvstTypeChecker. compileInvokeSpecial(ASTree target, java.lang.String classname, java.lang.String methodname, java.lang.String descriptor, ASTList args)private intCodeGen. computeLabel(ASTree expr)voidCodeGen. doTypeCheck(ASTree expr)protected CtFieldMemberCodeGen. fieldAccess(ASTree expr, boolean acceptLength)protected CtFieldTypeChecker. fieldAccess(ASTree expr)(package private) static intCodeGen. getCompOperator(ASTree expr)private static booleanCodeGen. isAlwaysBranch(ASTree expr, boolean branchIf)private booleanTypeChecker. isConstant(BinExpr expr, int op, ASTree left, ASTree right)private booleanTypeChecker. isConstant(Expr expr, int op, ASTree oprand)(package private) static java.lang.StringTypeChecker. isDotSuper(ASTree target)Returns non-null if target is something like Foo.super for accessing the default method in an interface.private static booleanTypeChecker. isPlusExpr(ASTree expr)private static booleanCodeGen. isPlusPlusExpr(ASTree expr)CtFieldMemberResolver. lookupFieldByJvmName2(java.lang.String jvmClassName, Symbol fieldSym, ASTree expr)Only used by fieldAccess() in MemberCodeGen and TypeChecker.private static ExprTypeChecker. makeAppendCall(ASTree target, ASTree arg)private static voidJvstCodeGen. makeCflowName(java.lang.StringBuffer sbuf, ASTree name)private ASTreeParser. parseDotClass(ASTree className, int dim)private ASTreeParser. parseInstanceOf(SymbolTable tbl, ASTree expr)private ASTreeParser. parseMethodCall(SymbolTable tbl, ASTree expr)protected voidJavac.CtFieldWithInit. setInit(ASTree i)(package private) static ASTreeTypeChecker. stripPlusExpr(ASTree expr)private java.lang.StringParser. toClassName(ASTree name)private voidParser. toClassName(ASTree name, java.lang.StringBuffer sbuf)Constructors in javassist.compiler with parameters of type ASTree Constructor Description NoFieldException(java.lang.String name, ASTree e) -
Uses of ASTree in javassist.compiler.ast
Subclasses of ASTree in javassist.compiler.ast Modifier and Type Class Description classArrayInitArray initializer such as{ 1, 2, 3 }.classAssignExprAssignment expression.classASTListA linked list.classBinExprBinary expression.classCallExprMethod call expression.classCastExprCast expression.classCondExprConditional expression.classDeclaratorVariable declarator.classDoubleConstDouble constant.classExprExpression.classFieldDeclclassInstanceOfExprInstanceof expression.classIntConstInteger constant.classKeywordKeyword.classMemberMember name.classMethodDeclclassNewExprNew Expression.classPairA node of a a binary tree.classStmntStatement.classStringLString literal.classSymbolIdentifier.classVariableVariable.Fields in javassist.compiler.ast declared as ASTree Modifier and Type Field Description private ASTreeASTList. leftprotected ASTreePair. leftprotected ASTreePair. rightMethods in javassist.compiler.ast that return ASTree Modifier and Type Method Description ASTreeDoubleConst. compute(int op, ASTree right)ASTreeIntConst. compute(int op, ASTree right)ASTreeCondExpr. condExpr()ASTreeCondExpr. elseExpr()ASTreeFieldDecl. getInit()ASTreeDeclarator. getInitializer()ASTreeASTList. getLeft()ASTreeASTree. getLeft()ASTreePair. getLeft()ASTreeCastExpr. getOprand()ASTreeASTList. getRight()ASTreeASTree. getRight()ASTreePair. getRight()ASTreeASTList. head()Returns the car part of the list.ASTreeExpr. oprand1()ASTreeExpr. oprand2()ASTreeCondExpr. thenExpr()Methods in javassist.compiler.ast with parameters of type ASTree Modifier and Type Method Description static ASTListASTList. append(ASTList a, ASTree b)Appends an object to a list.ASTreeDoubleConst. compute(int op, ASTree right)ASTreeIntConst. compute(int op, ASTree right)static ASTListASTList. make(ASTree e1, ASTree e2, ASTree e3)DeclaratorDeclarator. make(Symbol sym, int dim, ASTree init)static ExprExpr. make(int op, ASTree oprand1)static ExprExpr. make(int op, ASTree oprand1, ASTree oprand2)static StmntStmnt. make(int op, ASTree oprand1, ASTree oprand2)static StmntStmnt. make(int op, ASTree op1, ASTree op2, ASTree op3)static AssignExprAssignExpr. makeAssign(int op, ASTree oprand1, ASTree oprand2)static BinExprBinExpr. makeBin(int op, ASTree oprand1, ASTree oprand2)static CallExprCallExpr. makeCall(ASTree target, ASTree args)voidCondExpr. setCond(ASTree t)voidCondExpr. setElse(ASTree t)voidASTList. setHead(ASTree _head)voidASTList. setLeft(ASTree _left)voidASTree. setLeft(ASTree _left)voidPair. setLeft(ASTree _left)voidCastExpr. setOprand(ASTree t)voidExpr. setOprand1(ASTree expr)voidExpr. setOprand2(ASTree expr)voidASTList. setRight(ASTree _right)voidASTree. setRight(ASTree _right)voidPair. setRight(ASTree _right)voidCondExpr. setThen(ASTree t)booleanASTList. subst(ASTree newObj, ASTree oldObj)SubstitutesnewObjforoldObjin the list.Constructors in javassist.compiler.ast with parameters of type ASTree Constructor Description ArrayInit(ASTree firstElement)AssignExpr(int op, ASTree _head, ASTList _tail)ASTList(ASTree _head)ASTList(ASTree _head, ASTList _tail)BinExpr(int op, ASTree _head, ASTList _tail)CallExpr(ASTree _head, ASTList _tail)CastExpr(int type, int dim, ASTree expr)CastExpr(ASTList className, int dim, ASTree expr)CondExpr(ASTree cond, ASTree thenp, ASTree elsep)Expr(int op, ASTree _head)Expr(int op, ASTree _head, ASTList _tail)FieldDecl(ASTree _head, ASTList _tail)InstanceOfExpr(int type, int dim, ASTree expr)InstanceOfExpr(ASTList className, int dim, ASTree expr)MethodDecl(ASTree _head, ASTList _tail)Pair(ASTree _left, ASTree _right)Stmnt(int op, ASTree _head)Stmnt(int op, ASTree _head, ASTList _tail)
-