| Modifier and Type | Class and Description |
|---|---|
| public class | |
| public class | |
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private final EnhancedClassData | |
| private boolean | |
| private final Util |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| public MethodVisitor | visitMethod(final int access, final String name, final String desc, final String sig, final String[] exceptions)
Overrides org. Visits a method of the class. |
| ecd | back to summary |
|---|---|
| private final EnhancedClassData ecd Hides org. | |
| hasStaticInitializer | back to summary |
|---|---|
| private boolean hasStaticInitializer | |
| util | back to summary |
|---|---|
| private final Util util | |
| ClassEnhancer | back to summary |
|---|---|
| public ClassEnhancer(Util util, EnhancedClassData ecd, ClassVisitor cv) | |
| info | back to summary |
|---|---|
| private void info(int level, String msg) | |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Overrides org. Doc from org. Visits the end of the class. This method, which is the last one to be called, is used to inform the visitor that all the fields and methods of the class have been visited.
| |
| visitMethod | back to summary |
|---|---|
| public MethodVisitor visitMethod(final int access, final String name, final String desc, final String sig, final String[] exceptions) Overrides org. Doc from org. Visits a method of the class. This method must return a new
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | visitMethodInsn(int opcode, String owner, String name, String desc, boolean isInterface)
Overrides org. Visits a method instruction. |
| InfoMethodCallRewriter | back to summary |
|---|---|
| public InfoMethodCallRewriter(MethodVisitor mv, int acc, String name, String desc) | |
| visitMethodInsn | back to summary |
|---|---|
| public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean isInterface) Overrides org. Doc from org. Visits a method instruction. A method instruction is an instruction that invokes a method.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | visitCode()
Overrides org. Starts the visit of the method's code, if any (i.e. non abstract method). |
| access | back to summary |
|---|---|
| private int access | |
| desc | back to summary |
|---|---|
| private String desc | |
| name | back to summary |
|---|---|
| private String name | |
| InfoMethodRewriter | back to summary |
|---|---|
| public InfoMethodRewriter(MethodVisitor mv, int acc, String name, String desc) | |
| visitCode | back to summary |
|---|---|
| public void visitCode() Overrides org. Doc from org. Starts the visit of the method's code, if any (i.e. non abstract method).
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | visitMethodInsn(int opcode, String owner, String name, String desc, boolean isInterface)
Overrides org. Visits a method instruction. |
| mname | back to summary |
|---|---|
| private final String mname | |
| NormalMethodChecker | back to summary |
|---|---|
| public NormalMethodChecker(MethodVisitor mv, int acc, String name, String desc) | |
| visitMethodInsn | back to summary |
|---|---|
| public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean isInterface) Overrides org. Doc from org. Visits a method instruction. A method instruction is an instruction that invokes a method.
| |