Class ConstrainedParameter

    • Constructor Detail

      • ConstrainedParameter

        public ConstrainedParameter​(ConfigurationSource source,
                                    Callable callable,
                                    Type type,
                                    int index,
                                    Set<MetaConstraint<?>> constraints,
                                    Set<MetaConstraint<?>> typeArgumentConstraints,
                                    CascadingMetaDataBuilder cascadingMetaDataBuilder)
        Creates a new parameter meta data object.
        Parameters:
        source - The source of meta data.
        callable - The executable of the represented method parameter.
        type - the parameter type
        index - the index of the parameter
        constraints - The constraints of the represented method parameter, if any.
        typeArgumentConstraints - Type arguments constraints, if any.
        cascadingMetaDataBuilder - The cascaded validation metadata for this element and its container elements.