Interface PojoConstructorModel<T>

All Known Implementing Classes:
PojoHCAnnConstructorModel

public interface PojoConstructorModel<T>
  • Method Details

    • 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 a declared parameter in 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 parameters of this constructor.