|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mvel2.asm.AnnotationVisitor
org.mvel2.asm.tree.AnnotationNode
org.mvel2.asm.tree.TypeAnnotationNode
org.mvel2.asm.tree.LocalVariableAnnotationNode
public class LocalVariableAnnotationNode
A node that represents a type annotation on a local or resource variable.
| Field Summary | |
|---|---|
List<LabelNode> |
end
The last instructions corresponding to the continuous ranges that make the scope of this local variable (exclusive). |
List<Integer> |
index
The local variable's index in each range. |
List<LabelNode> |
start
The fist instructions corresponding to the continuous ranges that make the scope of this local variable (inclusive). |
| Fields inherited from class org.mvel2.asm.tree.TypeAnnotationNode |
|---|
typePath, typeRef |
| Fields inherited from class org.mvel2.asm.tree.AnnotationNode |
|---|
desc, values |
| Fields inherited from class org.mvel2.asm.AnnotationVisitor |
|---|
api, av |
| Constructor Summary | |
|---|---|
LocalVariableAnnotationNode(int api,
int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
Constructs a new LocalVariableAnnotationNode. |
|
LocalVariableAnnotationNode(int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
Constructs a new LocalVariableAnnotationNode. |
|
| Method Summary | |
|---|---|
void |
accept(MethodVisitor mv,
boolean visible)
Makes the given visitor visit this type annotation. |
| Methods inherited from class org.mvel2.asm.tree.AnnotationNode |
|---|
accept, check, visit, visitAnnotation, visitArray, visitEnd, visitEnum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public List<LabelNode> start
public List<LabelNode> end
public List<Integer> index
| Constructor Detail |
|---|
public LocalVariableAnnotationNode(int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
LocalVariableAnnotationNode. Subclasses must
not use this constructor. Instead, they must use the
LocalVariableAnnotationNode(int, TypePath, LabelNode[], LabelNode[], int[], String)
version.
typeRef - a reference to the annotated type. See TypeReference.typePath - the path to the annotated type argument, wildcard bound, array
element type, or static inner type within 'typeRef'. May be
null if the annotation targets 'typeRef' as a whole.start - the fist instructions corresponding to the continuous ranges
that make the scope of this local variable (inclusive).end - the last instructions corresponding to the continuous ranges
that make the scope of this local variable (exclusive). This
array must have the same size as the 'start' array.index - the local variable's index in each range. This array must have
the same size as the 'start' array.desc - the class descriptor of the annotation class.
public LocalVariableAnnotationNode(int api,
int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
LocalVariableAnnotationNode.
api - the ASM API version implemented by this visitor. Must be one
of Opcodes.ASM4 or Opcodes.ASM5.typeRef - a reference to the annotated type. See TypeReference.start - the fist instructions corresponding to the continuous ranges
that make the scope of this local variable (inclusive).end - the last instructions corresponding to the continuous ranges
that make the scope of this local variable (exclusive). This
array must have the same size as the 'start' array.index - the local variable's index in each range. This array must have
the same size as the 'start' array.typePath - the path to the annotated type argument, wildcard bound, array
element type, or static inner type within 'typeRef'. May be
null if the annotation targets 'typeRef' as a whole.desc - the class descriptor of the annotation class.| Method Detail |
|---|
public void accept(MethodVisitor mv,
boolean visible)
mv - the visitor that must visit this annotation.visible - true if the annotation is visible at runtime.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||