| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected String | |
| protected int | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| protected MemberResolver | |
| protected CtClass | |
| protected MethodInfo |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static String | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| protected void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public MemberResolver. | Returns: a pair of the class declaring the invoked method and the MethodInfo of that method. Never null.
|
| protected void | |
| public void | |
| public void | |
| private Expr | |
| private void | |
| public void | |
| public void | |
| private void | |
| private static void | |
| private void | |
| private void | |
| protected static void | |
| protected CtField | |
| private CtField | |
| private static ASTree | getConstantFieldValue(Member mem)
If MEM is a static final field, this method returns a constant expression representing the value of that field. |
| public static ASTree | |
| public int | |
| protected String | |
| protected String | |
| private void | |
| private boolean | |
| private boolean | |
| pack-priv static String | Returns: the class name followed by.super or null.Returns non-null if target is something like Foo.super for accessing the default method in an interface. |
| private static boolean | |
| private static Expr | |
| protected String | |
| protected String | |
| pack-priv void | |
| public void | |
| pack-priv static ASTree | |
| protected static StringBuilder |
| arrayDim | back to summary |
|---|---|
| protected int arrayDim | |
| className | back to summary |
|---|---|
| protected String className | |
| exprType | back to summary |
|---|---|
| protected int exprType | |
| javaLangObject | back to summary |
|---|---|
| pack-priv static final String javaLangObject | |
| jvmJavaLangClass | back to summary |
|---|---|
| pack-priv static final String jvmJavaLangClass | |
| jvmJavaLangObject | back to summary |
|---|---|
| pack-priv static final String jvmJavaLangObject | |
| jvmJavaLangString | back to summary |
|---|---|
| pack-priv static final String jvmJavaLangString | |
| resolver | back to summary |
|---|---|
| protected MemberResolver resolver | |
| thisClass | back to summary |
|---|---|
| protected CtClass thisClass | |
| thisMethod | back to summary |
|---|---|
| protected MethodInfo thisMethod | |
| TypeChecker | back to summary |
|---|---|
| public TypeChecker(CtClass cc, ClassPool cp) | |
| argTypesToString | back to summary |
|---|---|
| protected static String argTypesToString(int[] types, int[] dims, String[] cnames) | |
| atArrayAssign | back to summary |
|---|---|
| private void atArrayAssign(Expr expr, int op, Expr array, ASTree right) throws CompileError | |
| atArrayInit | back to summary |
|---|---|
| public void atArrayInit(ArrayInit init) throws CompileError Overrides javassist.
| |
| atArrayLength | back to summary |
|---|---|
| public void atArrayLength(Expr expr) throws CompileError | |
| atArrayRead | back to summary |
|---|---|
| public void atArrayRead(ASTree array, ASTree index) throws CompileError | |
| atAssignExpr | back to summary |
|---|---|
| public void atAssignExpr(AssignExpr expr) throws CompileError Overrides javassist.
| |
| atBinExpr | back to summary |
|---|---|
| public void atBinExpr(BinExpr expr) throws CompileError Overrides javassist.
| |
| atCallExpr | back to summary |
|---|---|
| public void atCallExpr(CallExpr expr) throws CompileError Overrides javassist.
| |
| atCastExpr | back to summary |
|---|---|
| public void atCastExpr(CastExpr expr) throws CompileError Overrides javassist.
| |
| atClassObject | back to summary |
|---|---|
| public void atClassObject(Expr expr) throws CompileError | |
| atCondExpr | back to summary |
|---|---|
| public void atCondExpr(CondExpr expr) throws CompileError Overrides javassist.
| |
| atDoubleConst | back to summary |
|---|---|
| public void atDoubleConst(DoubleConst d) throws CompileError Overrides javassist.
| |
| atExpr | back to summary |
|---|---|
| public void atExpr(Expr expr) throws CompileError Overrides javassist.
| |
| atFieldAssign | back to summary |
|---|---|
| protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) throws CompileError | |
| atFieldPlusPlus | back to summary |
|---|---|
| protected void atFieldPlusPlus(ASTree oprand) throws CompileError | |
| atFieldRead | back to summary |
|---|---|
| private void atFieldRead(ASTree expr) throws CompileError | |
| atFieldRead | back to summary |
|---|---|
| private void atFieldRead(CtField f) throws CompileError | |
| atInstanceOfExpr | back to summary |
|---|---|
| public void atInstanceOfExpr(InstanceOfExpr expr) throws CompileError Overrides javassist.
| |
| atIntConst | back to summary |
|---|---|
| public void atIntConst(IntConst i) throws CompileError Overrides javassist.
| |
| atKeyword | back to summary |
|---|---|
| public void atKeyword(Keyword k) throws CompileError Overrides javassist.
| |
| atMember | back to summary |
|---|---|
| public void atMember(Member mem) throws CompileError Overrides javassist.
| |
| atMethodArgs | back to summary |
|---|---|
| public void atMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames) throws CompileError | |
| atMethodCallCore | back to summary |
|---|---|
public MemberResolver.
| |
| atMultiNewArray | back to summary |
|---|---|
| protected void atMultiNewArray(int type, ASTList classname, ASTList size) throws CompileError | |
| atNewArrayExpr | back to summary |
|---|---|
| public void atNewArrayExpr(NewExpr expr) throws CompileError | |
| atNewExpr | back to summary |
|---|---|
| public void atNewExpr(NewExpr expr) throws CompileError Overrides javassist.
| |
| atPlusExpr | back to summary |
|---|---|
| private Expr atPlusExpr(BinExpr expr) throws CompileError | |
| atPlusPlus | back to summary |
|---|---|
| private void atPlusPlus(int token, ASTree oprand, Expr expr) throws CompileError | |
| atStringL | back to summary |
|---|---|
| public void atStringL(StringL s) throws CompileError Overrides javassist.
| |
| atVariable | back to summary |
|---|---|
| public void atVariable(Variable v) throws CompileError Overrides javassist.
| |
| atVariableAssign | back to summary |
|---|---|
| private void atVariableAssign(Expr expr, int op, Variable var, Declarator d, ASTree right) throws CompileError | |
| badMethod | back to summary |
|---|---|
| private static void badMethod() throws CompileError | |
| booleanExpr | back to summary |
|---|---|
| private void booleanExpr(ASTree expr) throws CompileError | |
| computeBinExprType | back to summary |
|---|---|
| private void computeBinExprType(BinExpr expr, int token, int type1) throws CompileError | |
| fatal | back to summary |
|---|---|
| protected static void fatal() throws CompileError | |
| fieldAccess | back to summary |
|---|---|
| protected CtField fieldAccess(ASTree expr) throws CompileError | |
| fieldAccess2 | back to summary |
|---|---|
| private CtField fieldAccess2(Expr e, String jvmClassName) throws CompileError | |
| getConstantFieldValue | back to summary |
|---|---|
| private static ASTree getConstantFieldValue(Member mem) If MEM is a static final field, this method returns a constant expression representing the value of that field. | |
| getConstantFieldValue | back to summary |
|---|---|
| public static ASTree getConstantFieldValue(CtField f) | |
| getMethodArgsLength | back to summary |
|---|---|
| public int getMethodArgsLength(ASTList args) | |
| getSuperName | back to summary |
|---|---|
| protected String getSuperName() throws CompileError Returns the JVM-internal representation of this super class name. | |
| getThisName | back to summary |
|---|---|
| protected String getThisName() Returns the JVM-internal representation of this class name. | |
| insertCast | back to summary |
|---|---|
| private void insertCast(BinExpr expr, int type1, int type2) throws CompileError | |
| isConstant | back to summary |
|---|---|
| private boolean isConstant(BinExpr expr, int op, ASTree left, ASTree right) throws CompileError | |
| isConstant | back to summary |
|---|---|
| private boolean isConstant(Expr expr, int op, ASTree oprand) | |
| isDotSuper | back to summary |
|---|---|
| pack-priv static String isDotSuper(ASTree target) Returns non-null if target is something like Foo.super for accessing the default method in an interface. Otherwise, null.
| |
| isPlusExpr | back to summary |
|---|---|
| private static boolean isPlusExpr(ASTree expr) | |
| makeAppendCall | back to summary |
|---|---|
| private static Expr makeAppendCall(ASTree target, ASTree arg) | |
| resolveClassName | back to summary |
|---|---|
| protected String resolveClassName(ASTList name) throws CompileError | |
| resolveClassName | back to summary |
|---|---|
| protected String resolveClassName(String jvmName) throws CompileError | |
| setReturnType | back to summary |
|---|---|
| pack-priv void setReturnType(String desc) throws CompileError | |
| setThisMethod | back to summary |
|---|---|
| public void setThisMethod(MethodInfo m) Records the currently compiled method. | |
| stripPlusExpr | back to summary |
|---|---|
| pack-priv static ASTree stripPlusExpr(ASTree expr) | |
| typeToString | back to summary |
|---|---|
| protected static StringBuilder typeToString(StringBuilder sbuf, int type, int dim, String cname) | |