Class AnnotationConfigurationImpl
java.lang.Object
org.infinispan.protostream.config.impl.AnnotationConfigurationImpl
- All Implemented Interfaces:
AnnotationConfiguration
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classNested classes/interfaces inherited from interface org.infinispan.protostream.config.AnnotationConfiguration
AnnotationConfiguration.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AnnotationMetadataCreator<?, ? extends AnnotatedDescriptor> private final Map<String, AnnotationAttributeConfiguration> (package private) AnnotationConfigurationImplprivate final StringThe name of the annotation.private final Stringprivate final Stringprivate final AnnotationElement.AnnotationTarget[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAnnotationConfigurationImpl(String name, String packageName, AnnotationElement.AnnotationTarget[] target, Map<String, AnnotationAttributeConfiguration> attributes, AnnotationMetadataCreator<?, ? extends AnnotatedDescriptor> annotationMetadataCreator, String repeatable) -
Method Summary
Modifier and TypeMethodDescriptionAnnotationMetadataCreator<?, ? extends AnnotatedDescriptor> name()The name of the annotation.The name of the containing annotation if this annotation is repeatable or null otherwise.target()Applicable targets.
-
Field Details
-
name
The name of the annotation. -
packageName
-
target
-
attributes
-
annotationMetadataCreator
-
repeatable
-
container
AnnotationConfigurationImpl container
-
-
Constructor Details
-
AnnotationConfigurationImpl
private AnnotationConfigurationImpl(String name, String packageName, AnnotationElement.AnnotationTarget[] target, Map<String, AnnotationAttributeConfiguration> attributes, AnnotationMetadataCreator<?, ? extends AnnotatedDescriptor> annotationMetadataCreator, String repeatable)
-
-
Method Details
-
name
Description copied from interface:AnnotationConfigurationThe name of the annotation.- Specified by:
namein interfaceAnnotationConfiguration
-
packageName
- Specified by:
packageNamein interfaceAnnotationConfiguration
-
target
Description copied from interface:AnnotationConfigurationApplicable targets.- Specified by:
targetin interfaceAnnotationConfiguration
-
attributes
- Specified by:
attributesin interfaceAnnotationConfiguration
-
metadataCreator
- Specified by:
metadataCreatorin interfaceAnnotationConfiguration
-
repeatable
Description copied from interface:AnnotationConfigurationThe name of the containing annotation if this annotation is repeatable or null otherwise.- Specified by:
repeatablein interfaceAnnotationConfiguration
-