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
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class AnnotationElement
AnnotationElement.Annotation, AnnotationElement.AnnotationTarget, AnnotationElement.Array, AnnotationElement.Attribute, AnnotationElement.AttributeType, AnnotationElement.Identifier, AnnotationElement.Literal, AnnotationElement.Value, AnnotationElement.Visitor -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, AnnotationElement.Attribute> private final Stringprivate final Stringstatic final StringThe name of the default attribute.Fields inherited from class AnnotationElement
position, UNKNOWN_POSITION -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(long pos, String name, Map<String, AnnotationElement.Attribute> attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisitor(AnnotationElement.Visitor visitor) getAttributeValue(String attributeName) getName()getValue()toString()AllValuesmust overridetoString()in a sensible manner.Methods inherited from class AnnotationElement
column, line, makePosition, positionToString
-
Field Details
-
VALUE_DEFAULT_ATTRIBUTE
-
name
-
packageName
-
attributes
-
-
Constructor Details
-
Annotation
-
-
Method Details
-
getName
-
getPackageName
-
getAttributes
-
getValue
- Specified by:
getValuein classAnnotationElement.Value
-
toString
Description copied from class:AnnotationElement.ValueAllValuesmust overridetoString()in a sensible manner.- Specified by:
toStringin classAnnotationElement.Value
-
getDefaultAttributeValue
-
getAttributeValue
-
acceptVisitor
- Overrides:
acceptVisitorin classAnnotationElement
-