org.jboss.byteman.agent.adapter
Class BMLocalScopeMethodAdapter

java.lang.Object
  extended by MethodNode
      extended by org.jboss.byteman.agent.adapter.BMLocalScopeMethodAdapter

public class BMLocalScopeMethodAdapter
extends MethodNode

a subclass of JSRInlinerAdapter which pushes local variable info through to the next adapter inline during code generation if it wants it


Field Summary
private  MethodVisitor mv
           
 
Constructor Summary
BMLocalScopeMethodAdapter(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.
 
Method Summary
 void visitEnd()
          once we have seen all the opcodes we can push the stored method tree through the next visitor in line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mv

private MethodVisitor mv
Constructor Detail

BMLocalScopeMethodAdapter

public BMLocalScopeMethodAdapter(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. should only be called with a method visitor which is an instance of LocalScopeMethodVisitor

Parameters:
mv -
access -
name -
desc -
signature -
exceptions -
Method Detail

visitEnd

public void visitEnd()
once we have seen all the opcodes we can push the stored method tree through the next visitor in line