Annotation Type MethodParameterMapping
Meta-annotation for annotations that apply mapping to a method parameter.
WARNING: at the moment, Hibernate Search only considers constructor parameters. Parameters of any other kind of method are ignored.
Whenever an annotation meta-annotated with MethodParameterMapping
is found on a method parameter in the domain model,
the corresponding annotation processor will be retrieved and applied to that method parameter.
The processor will be passed the annotation instance through its
MethodParameterMappingAnnotationProcessor.process(MethodParameterMappingStep, Annotation, MethodParameterMappingAnnotationProcessorContext)
method.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescription
-
Element Details
-
processor
- Returns:
- A reference to the processor to use for the target annotation.
- See Also:
-