Class PojoHCAnnMethodParameterModel<T>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.hcann.spi.PojoHCAnnMethodParameterModel<T>
-
- All Implemented Interfaces:
PojoMethodParameterModel<T>
public final class PojoHCAnnMethodParameterModel<T> extends Object implements PojoMethodParameterModel<T>
-
-
Constructor Summary
Constructors Constructor Description PojoHCAnnMethodParameterModel(PojoHCAnnConstructorModel<?> constructorModel, int index, Parameter parameter, AnnotatedType annotatedType, Annotation[] annotationsForJDK8303112)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>annotations()intindex()booleanisEnclosingInstance()Optional<String>name()StringtoString()PojoTypeModel<T>typeModel()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.model.spi.PojoMethodParameterModel
equals, hashCode
-
-
-
-
Constructor Detail
-
PojoHCAnnMethodParameterModel
public PojoHCAnnMethodParameterModel(PojoHCAnnConstructorModel<?> constructorModel, int index, Parameter parameter, AnnotatedType annotatedType, Annotation[] annotationsForJDK8303112)
-
-
Method Detail
-
index
public int index()
- Specified by:
indexin interfacePojoMethodParameterModel<T>
-
name
public Optional<String> name()
- Specified by:
namein interfacePojoMethodParameterModel<T>
-
annotations
public Stream<Annotation> annotations()
- Specified by:
annotationsin interfacePojoMethodParameterModel<T>
-
typeModel
public PojoTypeModel<T> typeModel()
- Specified by:
typeModelin interfacePojoMethodParameterModel<T>
-
isEnclosingInstance
public boolean isEnclosingInstance()
- Specified by:
isEnclosingInstancein interfacePojoMethodParameterModel<T>- Returns:
trueif this parameter is expected to receive an "enclosing instance", e.g. an instance of the enclosing class in the case of Java inner classes or method-local classes.
-
-