Class ProjectionConstructorProcessor
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.ProjectionConstructorProcessor
- All Implemented Interfaces:
ConstructorMappingAnnotationProcessor<ProjectionConstructor>,TypeMappingAnnotationProcessor<ProjectionConstructor>
public class ProjectionConstructorProcessor
extends Object
implements ConstructorMappingAnnotationProcessor<ProjectionConstructor>, TypeMappingAnnotationProcessor<ProjectionConstructor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ConstructorMappingStep mapping, ProjectionConstructor annotation, ConstructorMappingAnnotationProcessorContext context) Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.voidprocess(TypeMappingStep mapping, ProjectionConstructor annotation, TypeMappingAnnotationProcessorContext context) Extract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.
-
Constructor Details
-
ProjectionConstructorProcessor
public ProjectionConstructorProcessor()
-
-
Method Details
-
process
public void process(ConstructorMappingStep mapping, ProjectionConstructor annotation, ConstructorMappingAnnotationProcessorContext context) Description copied from interface:ConstructorMappingAnnotationProcessorExtract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.- Specified by:
processin interfaceConstructorMappingAnnotationProcessor<ProjectionConstructor>- Parameters:
mapping- The mapping to contribute to, targeting the constructor that the annotation was applied to.annotation- The annotation to process.context- A context providing various information and helpers.
-
process
public void process(TypeMappingStep mapping, ProjectionConstructor annotation, TypeMappingAnnotationProcessorContext context) Description copied from interface:TypeMappingAnnotationProcessorExtract information from the annotation and, in accordance with that information, contribute to the mapping passed in parameter.- Specified by:
processin interfaceTypeMappingAnnotationProcessor<ProjectionConstructor>- Parameters:
mapping- The mapping to contribute to, targeting the type that the annotation was applied to.annotation- The annotation to process.context- A context providing various information and helpers.
-