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