Class ObjectProjectionProcessor
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.ObjectProjectionProcessor
- All Implemented Interfaces:
MethodParameterMappingAnnotationProcessor<ObjectProjection>
public final class ObjectProjectionProcessor
extends Object
implements MethodParameterMappingAnnotationProcessor<ObjectProjection>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(MethodParameterMappingStep mapping, ObjectProjection annotation, MethodParameterMappingAnnotationProcessorContext context) Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.
-
Constructor Details
-
ObjectProjectionProcessor
public ObjectProjectionProcessor()
-
-
Method Details
-
process
public void process(MethodParameterMappingStep mapping, ObjectProjection annotation, MethodParameterMappingAnnotationProcessorContext context) Description copied from interface:MethodParameterMappingAnnotationProcessorExtract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.- Specified by:
processin interfaceMethodParameterMappingAnnotationProcessor<ObjectProjection>- 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.
-