public static final class AnnotationElement.Identifier extends AnnotationElement.Value
AnnotationElement.Annotation, AnnotationElement.AnnotationTarget, AnnotationElement.Array, AnnotationElement.Attribute, AnnotationElement.AttributeType, AnnotationElement.Identifier, AnnotationElement.Literal, AnnotationElement.Value, AnnotationElement.Visitor
position, UNKNOWN_POSITION
Constructor and Description |
---|
Identifier(long pos,
String identifier) |
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(AnnotationElement.Visitor visitor) |
String |
getIdentifier() |
String |
getValue() |
String |
toString()
All
Values must override toString() in a sensible manner. |
column, line, makePosition, positionToString
public Identifier(long pos, String identifier)
public String getIdentifier()
public String getValue()
getValue
in class AnnotationElement.Value
public void acceptVisitor(AnnotationElement.Visitor visitor)
acceptVisitor
in class AnnotationElement
public String toString()
AnnotationElement.Value
Values
must override toString()
in a sensible manner.toString
in class AnnotationElement.Value
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.