org.logicalcobwebs.asm.tree
Class LocalVariableNode

java.lang.Object
  extended by org.logicalcobwebs.asm.tree.LocalVariableNode

public class LocalVariableNode
extends java.lang.Object

A node that represents a local variable declaration.


Field Summary
 java.lang.String desc
          The type descriptor of this local variable.
 Label end
          The last instruction corresponding to the scope of this local variable (exclusive).
 int index
          The local variable's index.
 java.lang.String name
          The name of a local variable.
 Label start
          The first instruction corresponding to the scope of this local variable (inclusive).
 
Constructor Summary
LocalVariableNode(java.lang.String name, java.lang.String desc, Label start, Label end, int index)
          Constructs a new LocalVariableNode object.
 
Method Summary
 void accept(CodeVisitor cv)
          Makes the given code visitor visit this local variable declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of a local variable.


desc

public java.lang.String desc
The type descriptor of this local variable.


start

public Label start
The first instruction corresponding to the scope of this local variable (inclusive).


end

public Label end
The last instruction corresponding to the scope of this local variable (exclusive).


index

public int index
The local variable's index.

Constructor Detail

LocalVariableNode

public LocalVariableNode(java.lang.String name,
                         java.lang.String desc,
                         Label start,
                         Label end,
                         int index)
Constructs a new LocalVariableNode object.

Parameters:
name - the name of a local variable.
desc - the type descriptor of this local variable.
start - the first instruction corresponding to the scope of this local variable (inclusive).
end - the last instruction corresponding to the scope of this local variable (exclusive).
index - the local variable's index.
Method Detail

accept

public void accept(CodeVisitor cv)
Makes the given code visitor visit this local variable declaration.

Parameters:
cv - a code visitor.