org.objectweb.asm.commons
public class JSRInlinerAdapter extends MethodNode implements Opcodes
Nested Class Summary | |
---|---|
protected static class | JSRInlinerAdapter.Subroutine |
Constructor Summary | |
---|---|
JSRInlinerAdapter(MethodVisitor mv, int access, String name, String desc, String signature, String[] exceptions)
Creates a new JSRInliner.
|
Method Summary | |
---|---|
void | visitEnd()
If any JSRs were seen, triggers the inlining process. |
void | visitJumpInsn(int opcode, Label lbl)
Detects a JSR instruction and sets a flag to indicate we will need to do
inlining. |
Parameters: mv the MethodVisitor
to send the resulting inlined
method code to (use null
for none). access the method's access flags (see {@link Opcodes}). This
parameter also indicates if the method is synthetic and/or
deprecated. name the method's name. desc the method's descriptor (see {@link Type}). signature the method's signature. May be null. exceptions the internal names of the method's exception classes
(see {@link Type#getInternalName() getInternalName}). May be
null.