public class LocalVariableNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
LocalVariableNode(java.lang.String name,
java.lang.String desc,
Label start,
Label end,
int index)
Constructs a new
LocalVariableNode object. |
Modifier and Type | Method and Description |
---|---|
void |
accept(CodeVisitor cv)
Makes the given code visitor visit this local variable declaration.
|
public java.lang.String name
public java.lang.String desc
public Label start
public Label end
public int index
public LocalVariableNode(java.lang.String name, java.lang.String desc, Label start, Label end, int index)
LocalVariableNode
object.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.public void accept(CodeVisitor cv)
cv
- a code visitor.