@HashCodeAndEqualsPlugin.Enhance 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 |
---|---|
FieldDescription |
getField()
Returns the field description if a field was located.
|
boolean |
isResolved()
Returns
true if a field was located. |
protected Simple(FieldDescription fieldDescription)
fieldDescription
- A description of the located field.public boolean isResolved()
true
if a field was located.isResolved
in interface FieldLocator.Resolution
true
if a field was located.public FieldDescription getField()
getField
in interface FieldLocator.Resolution
Copyright © 2014–2020. All rights reserved.