public static class AnnotationsReader.AnnotationAttribute extends Object implements AnnotationsReader.ElementValue
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.Modifier and Type | Field and Description |
---|---|
Map<String,AnnotationsReader.ElementValue> |
elementValues
the arguments to the annotation
|
String |
type
the type of the annotation
|
Constructor and Description |
---|
AnnotationAttribute(String type,
Map<String,AnnotationsReader.ElementValue> elementValues) |
public final String type
public final Map<String,AnnotationsReader.ElementValue> elementValues
public AnnotationAttribute(String type, Map<String,AnnotationsReader.ElementValue> elementValues)