Annotation Type MethodParameterMapping


@Documented @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface 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.