public class BMLocalScopeMethodAdapter
extends org.objectweb.asm.tree.MethodNode
Constructor and Description |
---|
BMLocalScopeMethodAdapter(org.objectweb.asm.MethodVisitor mv,
int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
creates a method node with an instruction list which notifies local var scope start and end
events.
|
Modifier and Type | Method and Description |
---|---|
void |
visitEnd()
once we have seen all the opcodes we can push the stored method tree through the next visitor in line
|
accept, accept, getLabelNode, visitAnnotationDefault, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
public BMLocalScopeMethodAdapter(org.objectweb.asm.MethodVisitor mv, int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
mv
- the current method visitoraccess
- bitmask of method access permissionsname
- the method namedesc
- the method descriptorsignature
- the unerased method type signatureexceptions
- names of exceptions thrown by the methodCopyright © 2015. All Rights Reserved.