public class BMLocalScopeMethodAdapter
extends org.objectweb.asm.tree.MethodNode
access, annotationDefault, attrs, desc, exceptions, instructions, invisibleAnnotableParameterCount, invisibleAnnotations, invisibleLocalVariableAnnotations, invisibleParameterAnnotations, invisibleTypeAnnotations, localVariables, maxLocals, maxStack, name, parameters, signature, tryCatchBlocks, visibleAnnotableParameterCount, visibleAnnotations, visibleLocalVariableAnnotations, visibleParameterAnnotations, visibleTypeAnnotations
Constructor | Description |
---|---|
BMLocalScopeMethodAdapter(org.objectweb.asm.MethodVisitor mv,
int access,
String name,
String desc,
String signature,
String[] exceptions) |
creates a method node with an instruction list which notifies local var scope start and end
events.
|
Modifier and Type | Method | 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, check, getLabelNode, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
public BMLocalScopeMethodAdapter(org.objectweb.asm.MethodVisitor mv, int access, String name, String desc, String signature, 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 © 2018. All rights reserved.