public static final class AnnotationElement.Attribute extends AnnotationElement
AnnotationElement.Annotation, AnnotationElement.Array, AnnotationElement.Attribute, AnnotationElement.Identifier, AnnotationElement.Literal, AnnotationElement.Value, AnnotationElement.Visitor| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
private AnnotationElement.Value |
value |
position, UNKNOWN_POSITION| Constructor and Description |
|---|
Attribute(long pos,
java.lang.String name,
AnnotationElement.Value value) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(AnnotationElement.Visitor visitor) |
java.lang.String |
getName() |
AnnotationElement.Value |
getValue() |
column, line, makePosition, positionToStringprivate final java.lang.String name
private final AnnotationElement.Value value
public Attribute(long pos,
java.lang.String name,
AnnotationElement.Value value)
public java.lang.String getName()
public AnnotationElement.Value getValue()
public void acceptVisitor(AnnotationElement.Visitor visitor)
acceptVisitor in class AnnotationElement