Class PojoHCAnnConstructorModel<T>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.hcann.spi.PojoHCAnnConstructorModel<T>
-
- All Implemented Interfaces:
PojoConstructorModel<T>
public class PojoHCAnnConstructorModel<T> extends Object implements PojoConstructorModel<T>
-
-
Constructor Summary
Constructors Constructor Description PojoHCAnnConstructorModel(AbstractPojoHCAnnBootstrapIntrospector introspector, AbstractPojoHCAnnRawTypeModel<T,?> declaringTypeModel, Constructor<T> constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Annotation>annotations()List<PojoMethodParameterModel<?>>declaredParameters()ValueCreateHandle<T>handle()PojoMethodParameterModel<?>parameter(int index)Class<?>[]parametersJavaTypes()StringtoString()PojoRawTypeModel<T>typeModel()
-
-
-
Constructor Detail
-
PojoHCAnnConstructorModel
public PojoHCAnnConstructorModel(AbstractPojoHCAnnBootstrapIntrospector introspector, AbstractPojoHCAnnRawTypeModel<T,?> declaringTypeModel, Constructor<T> constructor)
-
-
Method Detail
-
annotations
public Stream<Annotation> annotations()
- Specified by:
annotationsin interfacePojoConstructorModel<T>- Returns:
- All annotations on this constructor.
-
typeModel
public PojoRawTypeModel<T> typeModel()
- Specified by:
typeModelin interfacePojoConstructorModel<T>- Returns:
- A model of this constructor's constructed type.
-
handle
public ValueCreateHandle<T> handle()
- Specified by:
handlein interfacePojoConstructorModel<T>- Returns:
- A handle to call this constructor.
-
parameter
public PojoMethodParameterModel<?> parameter(int index)
- Specified by:
parameterin interfacePojoConstructorModel<T>- Parameters:
index- The index of adeclared parameterin this constructor.- Returns:
- A representation of the parameter with the given index.
-
declaredParameters
public List<PojoMethodParameterModel<?>> declaredParameters()
- Specified by:
declaredParametersin interfacePojoConstructorModel<T>- Returns:
- All declared parameters of this constructor.
-
parametersJavaTypes
public Class<?>[] parametersJavaTypes()
- Specified by:
parametersJavaTypesin interfacePojoConstructorModel<T>- Returns:
- An array containing the Java types of all
declared parametersof this constructor.
-
-