Class ConstructorMappingAnnotationProcessorContextImpl
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
-
- org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.ConstructorMappingAnnotationProcessorContextImpl
-
- All Implemented Interfaces:
ConstructorMappingAnnotationProcessorContext,MappingAnnotatedElement,MappingAnnotationProcessorContext
public class ConstructorMappingAnnotationProcessorContextImpl extends AbstractMappingAnnotationProcessorContext implements ConstructorMappingAnnotationProcessorContext, MappingAnnotatedElement
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
annotationHelper
-
-
Constructor Summary
Constructors Constructor Description ConstructorMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, PojoConstructorModel<?> constructorModel, Annotation annotation, AnnotationHelper annotationHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>allAnnotations()MappingAnnotatedElementannotatedElement()EventContexteventContext()Class<?>javaClass()-
Methods inherited from class org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
toBeanReference, toContainerExtractorPath, toNullIfDefault, toPojoModelPathValueNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.MappingAnnotationProcessorContext
toBeanReference, toBeanReference, toContainerExtractorPath, toMap, toNullIfDefault, toPojoModelPathValueNode
-
-
-
-
Constructor Detail
-
ConstructorMappingAnnotationProcessorContextImpl
public ConstructorMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, PojoConstructorModel<?> constructorModel, Annotation annotation, AnnotationHelper annotationHelper)
-
-
Method Detail
-
annotatedElement
public MappingAnnotatedElement annotatedElement()
- Specified by:
annotatedElementin interfaceConstructorMappingAnnotationProcessorContext- Specified by:
annotatedElementin interfaceMappingAnnotationProcessorContext- Returns:
- A representation of the annotated element.
-
eventContext
public EventContext eventContext()
- Specified by:
eventContextin interfaceMappingAnnotationProcessorContext- Returns:
- An event context describing the annotation being processed and its location, for use in log messages and exception messages.
-
javaClass
public Class<?> javaClass()
- Specified by:
javaClassin interfaceMappingAnnotatedElement- Returns:
- The Java class corresponding to the raw type of the annotated element.
-
allAnnotations
public Stream<Annotation> allAnnotations()
- Specified by:
allAnnotationsin interfaceMappingAnnotatedElement- Returns:
- All annotations declared on the annotated element.
-
-