public abstract class MethodAppender extends MethodTransformSpec
MethodTransformSpec that adds some code right before the return statement.desc, name| Constructor and Description |
|---|
MethodAppender(String name,
String desc) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
append(CodeGenerator g)
Generates code to be appended right before the return statement.
|
org.kohsuke.asm6.MethodVisitor |
newAdapter(org.kohsuke.asm6.MethodVisitor base,
int access,
String name,
String desc,
String signature,
String[] exceptions)
Creates a visitor that receives the original method definition and writes
the transformed method to the given base.
|
protected abstract void append(CodeGenerator g)
public org.kohsuke.asm6.MethodVisitor newAdapter(org.kohsuke.asm6.MethodVisitor base,
int access,
String name,
String desc,
String signature,
String[] exceptions)
MethodTransformSpecnewAdapter in class MethodTransformSpecCopyright © 2018. All rights reserved.