public static enum FieldLocator.Resolution.Illegal extends Enum<FieldLocator.Resolution.Illegal> implements FieldLocator.Resolution
FieldLocator.Resolution.Illegal, FieldLocator.Resolution.Simple
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
getField()
Returns the field description if a field was located.
|
boolean |
isResolved()
Returns
true if a field was located. |
String |
toString() |
static FieldLocator.Resolution.Illegal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldLocator.Resolution.Illegal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldLocator.Resolution.Illegal INSTANCE
public static FieldLocator.Resolution.Illegal[] values()
for (FieldLocator.Resolution.Illegal c : FieldLocator.Resolution.Illegal.values()) System.out.println(c);
public static FieldLocator.Resolution.Illegal 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 nullpublic boolean isResolved()
FieldLocator.Resolution
true
if a field was located.isResolved
in interface FieldLocator.Resolution
true
if a field was located.public FieldDescription getField()
FieldLocator.Resolution
getField
in interface FieldLocator.Resolution
public String toString()
toString
in class Enum<FieldLocator.Resolution.Illegal>
Copyright © 2014–2016. All rights reserved.