| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected ConstPool | |
| protected String | |
| protected String | |
| protected String | |
| protected int | |
| protected boolean | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected int | |
| private boolean | |
| public int | transform(CtClass clazz, int pos, CodeIterator iterator, ConstPool cp)
Implements abstract javassist. Modify INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC and INVOKEVIRTUAL so that a different method is invoked. |
| classname | back to summary |
|---|---|
| protected String classname | |
| constPool | back to summary |
|---|---|
| protected ConstPool constPool | |
| methodDescriptor | back to summary |
|---|---|
| protected String methodDescriptor | |
| methodname | back to summary |
|---|---|
| protected String methodname | |
| newClassname | back to summary |
|---|---|
| protected String newClassname | |
| newIndex | back to summary |
|---|---|
| protected int newIndex | |
| newMethodIsPrivate | back to summary |
|---|---|
| protected boolean newMethodIsPrivate | |
| newMethodname | back to summary |
|---|---|
| protected String newMethodname | |
| TransformCall | back to summary |
|---|---|
| public TransformCall(Transformer next, CtMethod origMethod, CtMethod substMethod) | |
| TransformCall | back to summary |
|---|---|
| public TransformCall(Transformer next, String oldMethodName, CtMethod substMethod) | |
| initialize | back to summary |
|---|---|
| public void initialize(ConstPool cp, CodeAttribute attr) Overrides javassist.
| |
| match | back to summary |
|---|---|
| protected int match(int c, int pos, CodeIterator iterator, int typedesc, ConstPool cp) throws BadBytecode | |
| matchClass | back to summary |
|---|---|
| private boolean matchClass(String name, ClassPool pool) | |
| transform | back to summary |
|---|---|
| public int transform(CtClass clazz, int pos, CodeIterator iterator, ConstPool cp) throws BadBytecode Implements abstract javassist. Modify INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC and INVOKEVIRTUAL
so that a different method is invoked. The class name in the operand
of these instructions might be a subclass of the target class specified
by
| |