Package org.objectweb.asm.tree
Class LocalVariableNode
- java.lang.Object
-
- org.objectweb.asm.tree.LocalVariableNode
-
public class LocalVariableNode extends java.lang.ObjectA node that represents a local variable declaration.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringdescThe type descriptor of this local variable.LabelNodeendThe last instruction corresponding to the scope of this local variable (exclusive).intindexThe local variable's index.java.lang.StringnameThe name of a local variable.java.lang.StringsignatureThe signature of this local variable.LabelNodestartThe first instruction corresponding to the scope of this local variable (inclusive).
-
Constructor Summary
Constructors Constructor Description LocalVariableNode(java.lang.String name, java.lang.String descriptor, java.lang.String signature, LabelNode start, LabelNode end, int index)Constructs a newLocalVariableNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.objectweb.asm.MethodVisitor methodVisitor)Makes the given visitor visit this local variable declaration.
-
-
-
Field Detail
-
name
public java.lang.String name
The name of a local variable.
-
desc
public java.lang.String desc
The type descriptor of this local variable.
-
signature
public java.lang.String signature
The signature of this local variable. May be null.
-
start
public LabelNode start
The first instruction corresponding to the scope of this local variable (inclusive).
-
end
public LabelNode end
The last instruction corresponding to the scope of this local variable (exclusive).
-
index
public int index
The local variable's index.
-
-
Constructor Detail
-
LocalVariableNode
public LocalVariableNode(java.lang.String name, java.lang.String descriptor, java.lang.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.
-
-