Class OrInputTypeStrategy

  • All Implemented Interfaces:
    InputTypeStrategy

    @Internal
    public final class OrInputTypeStrategy
    extends Object
    implements InputTypeStrategy
    Strategy for inferring and validating the input using a disjunction of multiple InputTypeStrategys into one like f(NUMERIC) || f(STRING).

    This strategy aims to infer a list of types that are equal to the input types (to prevent unnecessary casting) or (if this is not possible) the first more specific, casted types.

    • Constructor Detail