Save This Page
Home » cglib-src-2.2 » net.sf.cglib.core » [javadoc | source]
net.sf.cglib.core
public class: LocalVariablesSorter [javadoc | source]
java.lang.Object
   org.objectweb.asm.MethodAdapter
      net.sf.cglib.core.LocalVariablesSorter

Direct Known Subclasses:
    CodeEmitter

A MethodAdapter that renumbers local variables in their order of appearance. This adapter allows one to easily add new local variables to a method.
Field Summary
protected final  int firstLocal     
Constructor:
 public LocalVariablesSorter(LocalVariablesSorter lvs) 
 public LocalVariablesSorter(int access,
    String desc,
    MethodVisitor mv) 
Method from net.sf.cglib.core.LocalVariablesSorter Summary:
newLocal,   visitIincInsn,   visitLocalVariable,   visitMaxs,   visitVarInsn
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.sf.cglib.core.LocalVariablesSorter Detail:
 protected int newLocal(int size) 
 public  void visitIincInsn(int var,
    int increment) 
 public  void visitLocalVariable(String name,
    String desc,
    String signature,
    Label start,
    Label end,
    int index) 
 public  void visitMaxs(int maxStack,
    int maxLocals) 
 public  void visitVarInsn(int opcode,
    int var)