org.objectweb.asm.tree
Class LocalVariableNode
public class LocalVariableNode
A node that represents a local variable declaration.
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.
|
String | name - The name of a local variable.
|
Label | start - The first instruction corresponding to the scope of this local variable
(inclusive).
|
void | accept(CodeVisitor cv) - Makes the given code visitor visit this local variable declaration.
|
desc
public String desc
The type descriptor of this local variable.
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.
name
public String name
The name of a local variable.
start
public Label start
The first instruction corresponding to the scope of this local variable
(inclusive).
LocalVariableNode
public LocalVariableNode(String name,
String desc,
Label start,
Label end,
int index)
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.
accept
public void accept(CodeVisitor cv)
Makes the given code visitor visit this local variable declaration.