Class AnnotationElement.Annotation
java.lang.Object
org.infinispan.protostream.descriptors.AnnotationElement
org.infinispan.protostream.descriptors.AnnotationElement.Value
org.infinispan.protostream.descriptors.AnnotationElement.Annotation
- Enclosing class:
AnnotationElement
-
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
ConstructorDescriptionAnnotation
(long pos, String name, Map<String, AnnotationElement.Attribute> attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptVisitor
(AnnotationElement.Visitor visitor) getAttributeValue
(String attributeName) getName()
getValue()
toString()
AllValues
must overridetoString()
in a sensible manner.Methods inherited from class org.infinispan.protostream.descriptors.AnnotationElement
column, line, makePosition, positionToString
-
Field Details
-
VALUE_DEFAULT_ATTRIBUTE
The name of the default attribute.- See Also:
-
-
Constructor Details
-
Annotation
-
-
Method Details
-
getName
-
getAttributes
-
getValue
- Specified by:
getValue
in classAnnotationElement.Value
-
toString
Description copied from class:AnnotationElement.Value
AllValues
must overridetoString()
in a sensible manner.- Specified by:
toString
in classAnnotationElement.Value
-
getDefaultAttributeValue
-
getAttributeValue
-
acceptVisitor
- Overrides:
acceptVisitor
in classAnnotationElement
-