Interface PropertyMappingAnnotationProcessor<A extends Annotation>

  • Type Parameters:
    A - The type of annotations supported by this processor.
    All Known Implementing Classes:
    PropertyMappingAnnotationProcessorRef.UndefinedProcessorImplementationType

    public interface PropertyMappingAnnotationProcessor<A extends Annotation>
    A processor for mapping annotations applied to a Java type.

    Implementations extract information from the annotation, and according to that information, contribute to the mapping passed in parameter.

    • Method Detail

      • process

        void process​(PropertyMappingStep mapping,
                     A annotation,
                     PropertyMappingAnnotationProcessorContext context)
        Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.
        Parameters:
        mapping - The mapping to contribute to, targeting the property that the annotation was applied to.
        annotation - The annotation to process.
        context - A context providing various information and helpers.