The affected type parameter or type is contravariant. Denoted by the in modifier in the source code.
in
Returns the name of this enum constant, exactly as declared in its enum declaration.
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
Thanks for your feedback!