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
ConstructorsConstructorDescriptionTypeMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, Annotation annotation, AnnotationHelper annotationHelper) -
Method Summary
Methods inherited from class org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
toBeanReference, toContainerExtractorPath, toNullIfDefault, toPojoModelPathValueNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.MappingAnnotationProcessorContext
toBeanReference, toBeanReference, toContainerExtractorPath, toMap, toNullIfDefault, toPojoModelPathValueNode
-
Constructor Details
-
TypeMappingAnnotationProcessorContextImpl
public TypeMappingAnnotationProcessorContextImpl(PojoRawTypeModel<?> typeModel, Annotation annotation, AnnotationHelper annotationHelper)
-
-
Method Details
-
annotatedElement
- Specified by:
annotatedElementin interfaceMappingAnnotationProcessorContext- Specified by:
annotatedElementin interfaceTypeMappingAnnotationProcessorContext- Returns:
- A representation of the annotated element.
-
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
- Specified by:
javaClassin interfaceMappingAnnotatedElement- Returns:
- The Java class corresponding to the raw type of the annotated element.
-
allAnnotations
- Specified by:
allAnnotationsin interfaceMappingAnnotatedElement- Returns:
- All annotations declared on the annotated element.
-