Class AnnotationsReader.AnnotationAttribute
java.lang.Object
com.ibm.wala.shrike.shrikeCT.AnnotationsReader.AnnotationAttribute
- All Implemented Interfaces:
AnnotationsReader.ElementValue
- Enclosing class:
AnnotationsReader
public static class AnnotationsReader.AnnotationAttribute
extends Object
implements AnnotationsReader.ElementValue
Representation of an annotation attribute. An annotation has the following format in the
bytecode:
annotation {
u2 type_index;
u2 num_element_value_pairs;
{ u2 element_name_index;
element_value value;
} element_value_pairs[num_element_value_pairs];
See the JVM specification section 4.7.16 for details.
This class implements AnnotationsReader.ElementValue to handle nested annotations.
- Author:
- sjfink
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Map<String, AnnotationsReader.ElementValue> the arguments to the annotationfinal Stringthe type of the annotation -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationAttribute(String type, Map<String, AnnotationsReader.ElementValue> elementValues) -
Method Summary
-
Field Details
-
type
the type of the annotation -
elementValues
the arguments to the annotation
-
-
Constructor Details
-
AnnotationAttribute
-
-
Method Details
-
toString
-