Interface BeanConstructor<T>

    • Method Detail

      • getDeclaringBeanType

        @NonNull
        java.lang.Class<T> getDeclaringBeanType()
        Returns the bean type.
        Returns:
        The underlying bean type
      • getArguments

        @NonNull
        Argument<?>[] getArguments()
        Returns:
        The constructor argument types.
      • instantiate

        @NonNull
        T instantiate​(java.lang.Object... parameterValues)
        Instantiate an instance.
        Parameters:
        parameterValues - The parameter values
        Returns:
        The instance, never null.
      • getDescription

        @NonNull
        default java.lang.String getDescription()
        The description of the constructor.
        Specified by:
        getDescription in interface Described
        Returns:
        The description
      • getDescription

        @NonNull
        default java.lang.String getDescription​(boolean simple)
        The description of the constructor.
        Specified by:
        getDescription in interface Described
        Parameters:
        simple - Whether to return a simple representation without package names
        Returns:
        The description