Class TypeMappingAnnotationProcessorContextImpl
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
-
- org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.TypeMappingAnnotationProcessorContextImpl
-
- All Implemented Interfaces:
MappingAnnotatedElement,MappingAnnotatedType,MappingAnnotationProcessorContext,TypeMappingAnnotationProcessorContext
public class TypeMappingAnnotationProcessorContextImpl extends AbstractMappingAnnotationProcessorContext implements TypeMappingAnnotationProcessorContext, MappingAnnotatedType
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
annotationHelper
-
-
Constructor Summary
Constructors Constructor Description TypeMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, Annotation annotation, AnnotationHelper annotationHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>allAnnotations()MappingAnnotatedTypeannotatedElement()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
-
TypeMappingAnnotationProcessorContextImpl
public TypeMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, Annotation annotation, AnnotationHelper annotationHelper)
-
-
Method Detail
-
annotatedElement
public MappingAnnotatedType annotatedElement()
- Specified by:
annotatedElementin interfaceMappingAnnotationProcessorContext- Specified by:
annotatedElementin interfaceTypeMappingAnnotationProcessorContext- 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.
-
-