| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected MemberResolver | |
| protected boolean | |
| protected CtClass | |
| protected MethodInfo |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private void | addFinally(List<int[]> returnList, Stmnt finallyBlock)
Adds a finally clause for earch return statement. |
| public void | |
| private void | |
| protected void | atArrayVariableAssign(ArrayInit init, int varType, int varArray, String varClass)
Implements abstract javassist.
|
| public void | |
| protected void | |
| protected void | atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup)
Implements abstract javassist.
|
| private void | |
| protected void | atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup)
Implements abstract javassist.
|
| protected void | |
| private int | |
| public void | |
| public void | |
| public void | atMethodCallCore(CtClass targetClass, String mname, ASTList args, boolean isStatic, boolean isSpecial, int aload0pos, MemberResolver.
|
| private void | atMethodCallCore2(CtClass targetClass, String mname, boolean isStatic, boolean isSpecial, int aload0pos, MemberResolver.
|
| protected void | |
| public void | |
| private void | |
| public void | |
| protected void | |
| private static void | |
| private static void | |
| private static void | |
| protected CtField | |
| protected String | |
| protected String | getAccessiblePrivate(String methodName, String desc, String newDesc, MethodInfo minfo, CtClass declClass)
|
| public int | |
| public int | |
| protected String | getSuperName()
Implements abstract javassist. Returns the JVM-internal representation of this super class name. |
| public CtClass | |
| protected String | getThisName()
Implements abstract javassist. Returns the JVM-internal representation of this class name. |
| protected void | |
| private AccessorMaker | |
| private boolean | |
| private boolean | |
| public CtClass[] | |
| public CtClass[] | |
| protected String | |
| protected String | |
| private boolean | Returns: true if the field type is long or double.Sets exprType, arrayDim, and className. |
| pack-priv void | |
| public void |
| resolver | back to summary |
|---|---|
| protected MemberResolver resolver | |
| resultStatic | back to summary |
|---|---|
| protected boolean resultStatic | |
| thisClass | back to summary |
|---|---|
| protected CtClass thisClass | |
| thisMethod | back to summary |
|---|---|
| protected MethodInfo thisMethod | |
| MemberCodeGen | back to summary |
|---|---|
| public MemberCodeGen(Bytecode b, CtClass cc, ClassPool cp) | |
| addFieldrefInfo | back to summary |
|---|---|
| private int addFieldrefInfo(CtField f, FieldInfo finfo) | |
| addFinally | back to summary |
|---|---|
| private void addFinally(List<int[]> returnList, Stmnt finallyBlock) throws CompileError Adds a finally clause for earch return statement. | |
| atArrayInit | back to summary |
|---|---|
| public void atArrayInit(ArrayInit init) throws CompileError Implements abstract javassist.
| |
| atArrayLength | back to summary |
|---|---|
| private void atArrayLength(ASTree expr) throws CompileError | |
| atArrayVariableAssign | back to summary |
|---|---|
| protected void atArrayVariableAssign(ArrayInit init, int varType, int varArray, String varClass) throws CompileError Implements abstract javassist.
| |
| atCallExpr | back to summary |
|---|---|
| public void atCallExpr(CallExpr expr) throws CompileError Implements abstract javassist.
| |
| atClassObject2 | back to summary |
|---|---|
| protected void atClassObject2(String cname) throws CompileError Overrides javassist.
| |
| atFieldAssign | back to summary |
|---|---|
| protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right, boolean doDup) throws CompileError Implements abstract javassist.
| |
| atFieldAssignCore | back to summary |
|---|---|
| private void atFieldAssignCore(CtField f, boolean is_static, int fi, boolean is2byte) throws CompileError | |
| atFieldPlusPlus | back to summary |
|---|---|
| protected void atFieldPlusPlus(int token, boolean isPost, ASTree oprand, Expr expr, boolean doDup) throws CompileError Implements abstract javassist.
| |
| atFieldRead | back to summary |
|---|---|
| protected void atFieldRead(ASTree expr) throws CompileError Implements abstract javassist.
| |
| atFieldRead | back to summary |
|---|---|
| private int atFieldRead(CtField f, boolean isStatic) throws CompileError Generates bytecode for reading a field value. It returns a fieldref_info index or zero if the field is a private one declared in an enclosing class. | |
| atMember | back to summary |
|---|---|
| public void atMember(Member mem) throws CompileError Implements abstract javassist.
| |
| atMethodArgs | back to summary |
|---|---|
| public void atMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames) throws CompileError | |
| atMethodCallCore | back to summary |
|---|---|
| public void atMethodCallCore(CtClass targetClass, String mname, ASTList args, boolean isStatic, boolean isSpecial, int aload0pos, MemberResolver. | |
| atMethodCallCore2 | back to summary |
|---|---|
| private void atMethodCallCore2(CtClass targetClass, String mname, boolean isStatic, boolean isSpecial, int aload0pos, 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 | |
| atNewArrayExpr2 | back to summary |
|---|---|
| private void atNewArrayExpr2(int type, ASTree sizeExpr, String jvmClassname, ArrayInit init) throws CompileError | |
| atNewExpr | back to summary |
|---|---|
| public void atNewExpr(NewExpr expr) throws CompileError Implements abstract javassist.
| |
| atTryStmnt | back to summary |
|---|---|
| protected void atTryStmnt(Stmnt st) throws CompileError Overrides javassist.
| |
| badLvalue | back to summary |
|---|---|
| private static void badLvalue() throws CompileError | |
| badMethod | back to summary |
|---|---|
| private static void badMethod() throws CompileError | |
| badNewExpr | back to summary |
|---|---|
| private static void badNewExpr() throws CompileError | |
| fieldAccess | back to summary |
|---|---|
| protected CtField fieldAccess(ASTree expr, boolean acceptLength) throws CompileError | |
| getAccessibleConstructor | back to summary |
|---|---|
| protected String getAccessibleConstructor(String desc, CtClass declClass, MethodInfo minfo) throws CompileError | |
| getAccessiblePrivate | back to summary |
|---|---|
| protected String getAccessiblePrivate(String methodName, String desc, String newDesc, MethodInfo minfo, CtClass declClass) throws CompileError | |
| getMajorVersion | back to summary |
|---|---|
| public int getMajorVersion() Returns the major version of the class file targeted by this compilation. | |
| getMethodArgsLength | back to summary |
|---|---|
| public int getMethodArgsLength(ASTList args) | |
| getSuperName | back to summary |
|---|---|
| protected String getSuperName() throws CompileError Implements abstract javassist. Returns the JVM-internal representation of this super class name.
| |
| getThisClass | back to summary |
|---|---|
| public CtClass getThisClass() | |
| getThisName | back to summary |
|---|---|
| protected String getThisName() Implements abstract javassist. Returns the JVM-internal representation of this class name.
| |
| insertDefaultSuperCall | back to summary |
|---|---|
| protected void insertDefaultSuperCall() throws CompileError Implements abstract javassist.
| |
| isAccessibleField | back to summary |
|---|---|
| private AccessorMaker isAccessibleField(CtField f, FieldInfo finfo) throws CompileError Returns null if the field is accessible. Otherwise, it throws an exception or it returns AccessorMaker if the field is a private one declared in an enclosing class. | |
| isEnclosing | back to summary |
|---|---|
| private boolean isEnclosing(CtClass outer, CtClass inner) | |
| isFromSameDeclaringClass | back to summary |
|---|---|
| private boolean isFromSameDeclaringClass(CtClass outer, CtClass inner) | |
| makeParamList | back to summary |
|---|---|
| public CtClass[] makeParamList(MethodDecl md) throws CompileError | |
| makeThrowsList | back to summary |
|---|---|
| public CtClass[] makeThrowsList(MethodDecl md) throws CompileError | |
| resolveClassName | back to summary |
|---|---|
| protected String resolveClassName(ASTList name) throws CompileError Implements abstract javassist.
| |
| resolveClassName | back to summary |
|---|---|
| protected String resolveClassName(String jvmName) throws CompileError Implements abstract javassist.
| |
| setFieldType | back to summary |
|---|---|
| private boolean setFieldType(FieldInfo finfo) throws CompileError Sets exprType, arrayDim, and className.
| |
| setReturnType | back to summary |
|---|---|
| pack-priv void setReturnType(String desc, boolean isStatic, boolean popTarget) throws CompileError | |
| setThisMethod | back to summary |
|---|---|
| public void setThisMethod(CtMethod m) Records the currently compiled method. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CodeGen | |
| pack-priv List | |
| pack-priv int |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | doit(Bytecode b, int opcode)
Implements abstract javassist. Returns true if the generated code ends with return, throw, or goto. |
| private int | |
| private void |
| cgen | back to summary |
|---|---|
| pack-priv CodeGen cgen | |
| jsrList | back to summary |
|---|---|
| pack-priv List<int[]> jsrList | |
| var | back to summary |
|---|---|
| pack-priv int var | |
| JsrHook | back to summary |
|---|---|
| pack-priv JsrHook(CodeGen gen) | |
| doit | back to summary |
|---|---|
| protected boolean doit(Bytecode b, int opcode) Implements abstract javassist. Doc from javassist. Returns true if the generated code ends with return, throw, or goto.
| |
| getVar | back to summary |
|---|---|
| private int getVar(int size) | |
| jsrJmp | back to summary |
|---|---|
| private void jsrJmp(Bytecode b) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | doit(Bytecode b, int opcode)
Implements abstract javassist. Returns true if the generated code ends with return, throw, or goto. |
| JsrHook2 | back to summary |
|---|---|
| pack-priv JsrHook2(CodeGen gen, int[] retTarget) | |
| doit | back to summary |
|---|---|
| protected boolean doit(Bytecode b, int opcode) Implements abstract javassist. Doc from javassist. Returns true if the generated code ends with return, throw, or goto.
| |