Interface PojoConstructorModel<T>
-
- All Known Implementing Classes:
PojoHCAnnConstructorModel
public interface PojoConstructorModel<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<Annotation>annotations()List<PojoMethodParameterModel<?>>declaredParameters()ValueCreateHandle<T>handle()PojoMethodParameterModel<?>parameter(int index)Class<?>[]parametersJavaTypes()PojoRawTypeModel<T>typeModel()
-
-
-
Method Detail
-
annotations
Stream<Annotation> annotations()
- Returns:
- All annotations on this constructor.
-
typeModel
PojoRawTypeModel<T> typeModel()
- Returns:
- A model of this constructor's constructed type.
-
handle
ValueCreateHandle<T> handle()
- Returns:
- A handle to call this constructor.
-
parameter
PojoMethodParameterModel<?> parameter(int index)
- Parameters:
index- The index of adeclared parameterin this constructor.- Returns:
- A representation of the parameter with the given index.
- Throws:
SearchException- If there is no parameter with the given index in this constructor.
-
declaredParameters
List<PojoMethodParameterModel<?>> declaredParameters()
- Returns:
- All declared parameters of this constructor.
-
parametersJavaTypes
Class<?>[] parametersJavaTypes()
- Returns:
- An array containing the Java types of all
declared parametersof this constructor.
-
-