public enum DefaultLocation extends java.lang.Enum<DefaultLocation>
DefaultQualifier
annotation applies.DefaultQualifier
Enum Constant and Description |
---|
ALL
Apply default annotations to all unannotated types.
|
ALL_EXCEPT_LOCALS
Apply default annotations to all unannotated types except the raw types
of locals.
|
UPPER_BOUNDS
Apply default annotations to unannotated upper bounds: both
explicit ones in
extends clauses, and implicit upper bounds
when no explicit extends or super clause is
present. |
Modifier and Type | Method and Description |
---|---|
static DefaultLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultLocation ALL
public static final DefaultLocation ALL_EXCEPT_LOCALS
public static final DefaultLocation UPPER_BOUNDS
extends
clauses, and implicit upper bounds
when no explicit extends
or super
clause is
present.public static DefaultLocation[] values()
for (DefaultLocation c : DefaultLocation.values()) System.out.println(c);
public static DefaultLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null