public class LocalVariableNode extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
String |
name
The name of a local variable.
|
String |
signature
The signature of this local variable.
|
LabelNode |
start
The first instruction corresponding to the scope of this local variable
(inclusive).
|
Constructor and Description |
---|
LocalVariableNode(String name,
String desc,
String signature,
LabelNode start,
LabelNode end,
int index)
Constructs a new
LocalVariableNode . |
Modifier and Type | Method and Description |
---|---|
void |
accept(MethodVisitor mv)
Makes the given visitor visit this local variable declaration.
|
public String name
public String desc
public String signature
public LabelNode start
public LabelNode end
public int index
public LocalVariableNode(String name, String desc, String signature, LabelNode start, LabelNode end, int index)
LocalVariableNode
.name
- the name of a local variable.desc
- 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 mv)
mv
- a method visitor.Copyright © 2018. All rights reserved.