FileDocCategorySizeDatePackage
LocalVariableNode.javaAPI DocGlassfish v2 API3376Thu Mar 02 11:51:16 GMT 2006oracle.toplink.libraries.asm.tree

LocalVariableNode

public class LocalVariableNode extends Object
A node that represents a local variable declaration.
author
Eric Bruneton

Fields Summary
public String
name
The name of a local variable.
public String
desc
The type descriptor of this local variable.
public Label
start
The first instruction corresponding to the scope of this local variable (inclusive).
public Label
end
The last instruction corresponding to the scope of this local variable (exclusive).
public int
index
The local variable's index.
Constructors Summary
public LocalVariableNode(String name, String desc, Label start, Label end, int index)
Constructs a new {@link LocalVariableNode LocalVariableNode} object.

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

    this.name = name;
    this.desc = desc;
    this.start = start;
    this.end = end;
    this.index = index;
  
Methods Summary
public voidaccept(oracle.toplink.libraries.asm.CodeVisitor cv)
Makes the given code visitor visit this local variable declaration.

param
cv a code visitor.

    cv.visitLocalVariable(name, desc, start, end, index);