public enum Wildcard extends Enum<Wildcard>
SimpleQualifierParameterAnnotationConverter
, this enum
allows specifying super and extends bounds, e.g {@literal @}Tainted(wildcard=Extends) MyClass
is equivalent
to MyClass《? extends @Tainted》.Modifier and Type | Method and Description |
---|---|
static Wildcard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wildcard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Wildcard NONE
public static final Wildcard EXTENDS
public static final Wildcard SUPER
public static Wildcard[] values()
for (Wildcard c : Wildcard.values()) System.out.println(c);
public static Wildcard valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null