Module org.eclipse.persistence.asm
Class LocalVariableNode
java.lang.Object
org.eclipse.persistence.internal.libraries.asm.tree.LocalVariableNode
A node that represents a local variable declaration.
-
Field Summary
Modifier and TypeFieldDescriptionThe type descriptor of this local variable.The last instruction corresponding to the scope of this local variable (exclusive).int
The local variable's index.The name of a local variable.The signature of this local variable.The first instruction corresponding to the scope of this local variable (inclusive). -
Constructor Summary
ConstructorDescriptionLocalVariableNode
(String name, String descriptor, String signature, LabelNode start, LabelNode end, int index) Constructs a newLocalVariableNode
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(MethodVisitor methodVisitor) Makes the given visitor visit this local variable declaration.
-
Field Details
-
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
public int indexThe local variable's index.
-
-
Constructor Details
-
LocalVariableNode
public LocalVariableNode(String name, String descriptor, String signature, LabelNode start, LabelNode end, int index) Constructs a newLocalVariableNode
.- Parameters:
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.
-
-
Method Details
-
accept
Makes the given visitor visit this local variable declaration.- Parameters:
methodVisitor
- a method visitor.
-