Interface MethodParameterMappingAnnotationProcessor<A extends Annotation>
-
- Type Parameters:
A- The type of annotations supported by this processor.
- All Known Implementing Classes:
CompositeProjectionProcessor,DocumentReferenceProjectionProcessor,EntityProjectionProcessor,EntityReferenceProjectionProcessor,FieldProjectionProcessor,HighlightProjectionProcessor,IdProjectionProcessor,MethodParameterMappingAnnotationProcessorRef.UndefinedProcessorImplementationType,ObjectProjectionProcessor,ProjectionBindingProcessor,ScoreProjectionProcessor
public interface MethodParameterMappingAnnotationProcessor<A extends Annotation>A processor for mapping annotations applied to a Java method parameter.Implementations extract information from the annotation, and according to that information, contribute to the mapping passed in parameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(MethodParameterMappingStep mapping, A annotation, MethodParameterMappingAnnotationProcessorContext context)Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.
-
-
-
Method Detail
-
process
void process(MethodParameterMappingStep mapping, A annotation, MethodParameterMappingAnnotationProcessorContext 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 method parameter that the annotation was applied to.annotation- The annotation to process.context- A context providing various information and helpers.
-
-