| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public void | |
| public int | transform(CtClass clazz, int pos, CodeIterator iterator, ConstPool cp)
Implements abstract javassist. Replace a sequence of NEW classname DUP ... |
| classname | back to summary |
|---|---|
| private String classname | |
| nested | back to summary |
|---|---|
| private int nested | |
| trapClass | back to summary |
|---|---|
| private String trapClass | |
| trapMethod | back to summary |
|---|---|
| private String trapMethod | |
| TransformNew | back to summary |
|---|---|
| public TransformNew(Transformer next, String classname, String trapClass, String trapMethod) | |
| computeMethodref | back to summary |
|---|---|
| private int computeMethodref(int typedesc, ConstPool cp) | |
| initialize | back to summary |
|---|---|
| public void initialize(ConstPool cp, CodeAttribute attr) Overrides javassist.
| |
| transform | back to summary |
|---|---|
| public int transform(CtClass clazz, int pos, CodeIterator iterator, ConstPool cp) throws CannotCompileException Implements abstract javassist. Replace a sequence of NEW classname DUP ... INVOKESPECIAL with NOP NOP ... INVOKESTATIC trapMethod in trapClass
| |