public class LocalVariableNode extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
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 className 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).
|
| 构造器和说明 |
|---|
LocalVariableNode(String name,
String desc,
String signature,
LabelNode start,
LabelNode end,
int index)
Constructs a new
LocalVariableNode. |
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 className 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 © 2021. All rights reserved.