public class LocalVariableNode
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
desc |
The type descriptor of this local variable.
|
LabelNode |
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.
|
java.lang.String |
signature |
The signature of this local variable.
|
LabelNode |
start |
The first instruction corresponding to the scope of this local variable (inclusive).
|
Constructor | Description |
---|---|
LocalVariableNode(java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
LabelNode start,
LabelNode end,
int index) |
Constructs a new
LocalVariableNode . |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(MethodVisitor methodVisitor) |
Makes the given visitor visit this local variable declaration.
|
public java.lang.String name
public java.lang.String desc
public java.lang.String signature
public LabelNode start
public LabelNode end
public int index
public LocalVariableNode(java.lang.String name, java.lang.String descriptor, java.lang.String signature, LabelNode start, LabelNode end, int index)
LocalVariableNode
.name
- the name of a local variable.descriptor
- the type descriptor of this local variable.signature
- the signature of this local variable. May be null.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(MethodVisitor methodVisitor)
methodVisitor
- a method visitor.