public enum LocationReferenceOption extends Enum<LocationReferenceOption>
LocationReferenceCheck
may refer to.Enum Constant and Description |
---|
ClassObject
the current type, as a static
Class object (e.g. |
FullClass
the fully qualified name of the current type, as a
String literal |
Method
the name of the current method, as a
String literal |
SimpleClass
the simple name of the current type, as a
String literal |
Modifier and Type | Method and Description |
---|---|
static LocationReferenceOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationReferenceOption |
valueOfIgnoreCase(String pValue)
Variant of
Enum.valueOf(java.lang.Class<T>, java.lang.String) that ignores value case. |
static LocationReferenceOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationReferenceOption ClassObject
Class
object (e.g. MyClass.class
)public static final LocationReferenceOption FullClass
String
literalpublic static final LocationReferenceOption Method
String
literalpublic static final LocationReferenceOption SimpleClass
String
literalpublic static LocationReferenceOption 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@Nonnull public static LocationReferenceOption valueOfIgnoreCase(@Nonnull String pValue)
Enum.valueOf(java.lang.Class<T>, java.lang.String)
that ignores value case.pValue
- the String valueIllegalArgumentException
- the given String value does not match a valid enum valuepublic static LocationReferenceOption[] values()
for (LocationReferenceOption c : LocationReferenceOption.values()) System.out.println(c);