| Package | Description | 
|---|---|
| javassist | The Javassist Core API. | 
| javassist.compiler | |
| javassist.compiler.ast | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ASTree | CtField. getInitAST() | 
| Modifier and Type | Method and Description | 
|---|---|
| static ASTree | TypeChecker. getConstantFieldValue(CtField f) | 
| ASTree | NoFieldException. getExpr() | 
| protected ASTree | Javac.CtFieldWithInit. getInitAST() | 
| static ASTree | Javac. parseExpr(String src,
         SymbolTable st)Parsers an expression. | 
| ASTree | Parser. parseExpression(SymbolTable tbl) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | CodeGen. arrayAccess(ASTree array,
           ASTree index) | 
| void | CodeGen. atArrayRead(ASTree array,
           ASTree index) | 
| void | TypeChecker. atArrayRead(ASTree array,
           ASTree index) | 
| protected void | CodeGen. atAssignCore(Expr expr,
            int op,
            ASTree right,
            int type,
            int dim,
            String cname) | 
| protected void | JvstTypeChecker. atFieldAssign(Expr expr,
             int op,
             ASTree left,
             ASTree right) | 
| protected void | TypeChecker. atFieldAssign(Expr expr,
             int op,
             ASTree left,
             ASTree right) | 
| protected abstract void | CodeGen. atFieldAssign(Expr expr,
             int op,
             ASTree left,
             ASTree right,
             boolean doDup) | 
| protected void | MemberCodeGen. atFieldAssign(Expr expr,
             int op,
             ASTree left,
             ASTree right,
             boolean doDup) | 
| protected void | JvstCodeGen. atFieldAssign(Expr expr,
             int op,
             ASTree left,
             ASTree right,
             boolean doDup) | 
| protected void | TypeChecker. atFieldPlusPlus(ASTree oprand) | 
| protected abstract void | CodeGen. atFieldPlusPlus(int token,
               boolean isPost,
               ASTree oprand,
               Expr expr,
               boolean doDup) | 
| protected void | MemberCodeGen. atFieldPlusPlus(int token,
               boolean isPost,
               ASTree oprand,
               Expr expr,
               boolean doDup) | 
| protected abstract void | CodeGen. atFieldRead(ASTree expr) | 
| protected void | MemberCodeGen. atFieldRead(ASTree expr) | 
| protected void | CodeGen. atReturnStmnt2(ASTree result) | 
| boolean | CodeGen. compileBooleanExpr(boolean branchIf,
                  ASTree expr) | 
| void | Javac. compileExpr(ASTree e)Compiles an exression. | 
| void | CodeGen. compileExpr(ASTree expr) | 
| void | CodeGen. doTypeCheck(ASTree expr) | 
| protected CtField | TypeChecker. fieldAccess(ASTree expr) | 
| protected CtField | MemberCodeGen. fieldAccess(ASTree expr,
           boolean acceptLength) | 
| CtField | MemberResolver. lookupFieldByJvmName2(String jvmClassName,
                     Symbol fieldSym,
                     ASTree expr)Only used by fieldAccess() in MemberCodeGen and TypeChecker. | 
| protected void | Javac.CtFieldWithInit. setInit(ASTree i) | 
| Constructor and Description | 
|---|
| NoFieldException(String name,
                ASTree e) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArrayInitArray initializer such as  { 1, 2, 3 }. | 
| class  | AssignExprAssignment expression. | 
| class  | ASTListA linked list. | 
| class  | BinExprBinary expression. | 
| class  | CallExprMethod call expression. | 
| class  | CastExprCast expression. | 
| class  | CondExprConditional expression. | 
| class  | DeclaratorVariable declarator. | 
| class  | DoubleConstDouble constant. | 
| class  | ExprExpression. | 
| class  | FieldDecl | 
| class  | InstanceOfExprInstanceof expression. | 
| class  | IntConstInteger constant. | 
| class  | KeywordKeyword. | 
| class  | MemberMember name. | 
| class  | MethodDecl | 
| class  | NewExprNew Expression. | 
| class  | PairA node of a a binary tree. | 
| class  | StmntStatement. | 
| class  | StringLString literal. | 
| class  | SymbolIdentifier. | 
| class  | VariableVariable. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ASTree | Pair. left | 
| protected ASTree | Pair. right | 
| Modifier and Type | Method and Description | 
|---|---|
| ASTree | IntConst. compute(int op,
       ASTree right) | 
| ASTree | DoubleConst. compute(int op,
       ASTree right) | 
| ASTree | CondExpr. condExpr() | 
| ASTree | CondExpr. elseExpr() | 
| ASTree | FieldDecl. getInit() | 
| ASTree | Declarator. getInitializer() | 
| ASTree | ASTree. getLeft() | 
| ASTree | ASTList. getLeft() | 
| ASTree | Pair. getLeft() | 
| ASTree | CastExpr. getOprand() | 
| ASTree | ASTree. getRight() | 
| ASTree | ASTList. getRight() | 
| ASTree | Pair. getRight() | 
| ASTree | ASTList. head()Returns the car part of the list. | 
| ASTree | Expr. oprand1() | 
| ASTree | Expr. oprand2() | 
| ASTree | CondExpr. thenExpr() | 
| Modifier and Type | Method and Description | 
|---|---|
| static ASTList | ASTList. append(ASTList a,
      ASTree b)Appends an object to a list. | 
| ASTree | IntConst. compute(int op,
       ASTree right) | 
| ASTree | DoubleConst. compute(int op,
       ASTree right) | 
| static ASTList | ASTList. make(ASTree e1,
    ASTree e2,
    ASTree e3) | 
| static Expr | Expr. make(int op,
    ASTree oprand1) | 
| static Expr | Expr. make(int op,
    ASTree oprand1,
    ASTree oprand2) | 
| static Stmnt | Stmnt. make(int op,
    ASTree oprand1,
    ASTree oprand2) | 
| static Stmnt | Stmnt. make(int op,
    ASTree op1,
    ASTree op2,
    ASTree op3) | 
| Declarator | Declarator. make(Symbol sym,
    int dim,
    ASTree init) | 
| static AssignExpr | AssignExpr. makeAssign(int op,
          ASTree oprand1,
          ASTree oprand2) | 
| static BinExpr | BinExpr. makeBin(int op,
       ASTree oprand1,
       ASTree oprand2) | 
| static CallExpr | CallExpr. makeCall(ASTree target,
        ASTree args) | 
| void | CondExpr. setCond(ASTree t) | 
| void | CondExpr. setElse(ASTree t) | 
| void | ASTList. setHead(ASTree _head) | 
| void | ASTree. setLeft(ASTree _left) | 
| void | ASTList. setLeft(ASTree _left) | 
| void | Pair. setLeft(ASTree _left) | 
| void | CastExpr. setOprand(ASTree t) | 
| void | Expr. setOprand1(ASTree expr) | 
| void | Expr. setOprand2(ASTree expr) | 
| void | ASTree. setRight(ASTree _right) | 
| void | ASTList. setRight(ASTree _right) | 
| void | Pair. setRight(ASTree _right) | 
| void | CondExpr. setThen(ASTree t) | 
| boolean | ASTList. subst(ASTree newObj,
     ASTree oldObj)Substitutes  newObjforoldObjin the
 list. | 
| Constructor and Description | 
|---|
| ArrayInit(ASTree firstElement) | 
| ASTList(ASTree _head) | 
| ASTList(ASTree _head,
       ASTList _tail) | 
| CastExpr(ASTList className,
        int dim,
        ASTree expr) | 
| CastExpr(int type,
        int dim,
        ASTree expr) | 
| CondExpr(ASTree cond,
        ASTree thenp,
        ASTree elsep) | 
| FieldDecl(ASTree _head,
         ASTList _tail) | 
| InstanceOfExpr(ASTList className,
              int dim,
              ASTree expr) | 
| InstanceOfExpr(int type,
              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) | 
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.