public class LocalVariableNode
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
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).
|
| 构造器和说明 |
|---|
LocalVariableNode(java.lang.String name,
java.lang.String desc,
java.lang.String signature,
LabelNode start,
LabelNode end,
int index)
Constructs a new
LocalVariableNode. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(MethodVisitor mv)
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 desc,
java.lang.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.