Class MethodParameterMappingAnnotationProcessorContextImpl
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.MethodParameterMappingAnnotationProcessorContextImpl
- All Implemented Interfaces:
MappingAnnotatedElement,MappingAnnotatedMethodParameter,MappingAnnotationProcessorContext,MethodParameterMappingAnnotationProcessorContext
public class MethodParameterMappingAnnotationProcessorContextImpl
extends AbstractMappingAnnotationProcessorContext
implements MethodParameterMappingAnnotationProcessorContext, MappingAnnotatedMethodParameter
-
Field Summary
Fields inherited from class org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.AbstractMappingAnnotationProcessorContext
annotationHelper -
Constructor Summary
ConstructorsConstructorDescriptionMethodParameterMappingAnnotationProcessorContextImpl(PojoConstructorModel<?> constructorModel, PojoMethodParameterModel<?> methodParameterModel, 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
-
MethodParameterMappingAnnotationProcessorContextImpl
public MethodParameterMappingAnnotationProcessorContextImpl(PojoConstructorModel<?> constructorModel, PojoMethodParameterModel<?> methodParameterModel, Annotation annotation, AnnotationHelper annotationHelper)
-
-
Method Details
-
annotatedElement
- Specified by:
annotatedElementin interfaceMappingAnnotationProcessorContext- Specified by:
annotatedElementin interfaceMethodParameterMappingAnnotationProcessorContext- 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.
-
name
- Specified by:
namein interfaceMappingAnnotatedMethodParameter- Returns:
- An optional containing the name of the method parameter, or
Optional.empty()if unavailable.
-
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.
-