Class AnnotationElement.Identifier
- java.lang.Object
-
- org.infinispan.protostream.descriptors.AnnotationElement
-
- org.infinispan.protostream.descriptors.AnnotationElement.Value
-
- org.infinispan.protostream.descriptors.AnnotationElement.Identifier
-
- Enclosing class:
- AnnotationElement
public static final class AnnotationElement.Identifier extends AnnotationElement.Value
An identifier is a bit like a string literal but it does not have the quotation marks and it cannot contain white space.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.infinispan.protostream.descriptors.AnnotationElement
AnnotationElement.Annotation, AnnotationElement.AnnotationTarget, AnnotationElement.Array, AnnotationElement.Attribute, AnnotationElement.AttributeType, AnnotationElement.Identifier, AnnotationElement.Literal, AnnotationElement.Value, AnnotationElement.Visitor
-
-
Field Summary
-
Fields inherited from class org.infinispan.protostream.descriptors.AnnotationElement
position, UNKNOWN_POSITION
-
-
Constructor Summary
Constructors Constructor Description Identifier(long pos, String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(AnnotationElement.Visitor visitor)
String
getIdentifier()
String
getValue()
String
toString()
AllValues
must overridetoString()
in a sensible manner.-
Methods inherited from class org.infinispan.protostream.descriptors.AnnotationElement
column, line, makePosition, positionToString
-
-
-
-
Constructor Detail
-
Identifier
public Identifier(long pos, String identifier)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
-
getValue
public String getValue()
- Specified by:
getValue
in classAnnotationElement.Value
-
acceptVisitor
public void acceptVisitor(AnnotationElement.Visitor visitor)
- Overrides:
acceptVisitor
in classAnnotationElement
-
toString
public String toString()
Description copied from class:AnnotationElement.Value
AllValues
must overridetoString()
in a sensible manner.- Specified by:
toString
in classAnnotationElement.Value
-
-