Interface ConstructorTarget

    • Method Detail

      • constructor

        ConstructorConstraintMappingContext constructor​(Class<?>... parameterTypes)
        Selects a constructor to which the next operations shall apply.

        Until this method is called constraints apply on class level. After calling this method constraints apply to the specified constructor.

        A given constructor may only be configured once.

        Parameters:
        parameterTypes - The constructor parameter types.
        Returns:
        A creational context representing the selected constructor.