public static class FieldLocator.Resolution.Simple extends Object implements FieldLocator.Resolution
FieldLocator.Resolution.Illegal, FieldLocator.Resolution.Simple
Modifier | Constructor and Description |
---|---|
protected |
Simple(FieldDescription fieldDescription)
Creates a new simple resolution for a field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
FieldDescription |
getField()
Returns the field description if a field was located.
|
int |
hashCode() |
boolean |
isResolved()
Returns
true if a field was located. |
String |
toString() |
protected Simple(FieldDescription fieldDescription)
fieldDescription
- A description of the located field.public 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
Copyright © 2014–2017. All rights reserved.