Interface ElementAnnotationMetadataFactory
- All Known Implementing Classes:
- AbstractElementAnnotationMetadataFactory,- GroovyElementAnnotationMetadataFactory,- JavaElementAnnotationMetadataFactory
public interface ElementAnnotationMetadataFactory
Element's annotation metadata factory.
- Since:
- 4.0.0
- Author:
- Denis Stepanov
- 
Method SummaryModifier and TypeMethodDescriptionBuild new element annotation metadata from the element.Build new generic element type annotation metadata from the class element.buildMutable(@NonNull AnnotationMetadata annotationMetadata) Build new mutable element annotation metadata.buildTypeAnnotations(@NonNull ClassElement element) Build new class element type annotation metadata from the class element.readOnly()Makes this factory read-only.
- 
Method Details- 
buildBuild new element annotation metadata from the element.- Parameters:
- element- The element
- Returns:
- the element's metadata
 
- 
buildTypeAnnotations@NonNull @NonNull ElementAnnotationMetadata buildTypeAnnotations(@NonNull @NonNull ClassElement element) Build new class element type annotation metadata from the class element.- Parameters:
- element- The element
- Returns:
- the element's metadata
 
- 
buildGenericTypeAnnotations@NonNull @NonNull ElementAnnotationMetadata buildGenericTypeAnnotations(@NonNull @NonNull GenericElement element) Build new generic element type annotation metadata from the class element.- Parameters:
- element- The element
- Returns:
- the element's metadata
 
- 
buildMutable@NonNull @NonNull ElementAnnotationMetadata buildMutable(@NonNull @NonNull AnnotationMetadata annotationMetadata) Build new mutable element annotation metadata.- Parameters:
- annotationMetadata- The preloaded annotation
- Returns:
- the element's metadata
 
- 
readOnlyMakes this factory read-only. No modification to the annotation metadata should be persisted into the shared cache.- Returns:
- read-only factory
 
 
-