Interface FieldLocator.Resolution
- All Known Implementing Classes:
FieldLocator.Resolution.Illegal, FieldLocator.Resolution.Simple
- Enclosing interface:
FieldLocator
public static interface FieldLocator.Resolution
A resolution for a field lookup.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn illegal resolution.static classA simple implementation for a field resolution. -
Method Summary
Modifier and TypeMethodDescriptiongetField()Returns the field description if a field was located.booleanReturnstrueif a field was located.
-
Method Details
-
isResolved
boolean isResolved()Returnstrueif a field was located.- Returns:
trueif a field was located.
-
getField
FieldDescription getField()Returns the field description if a field was located. This method must only be called if this resolution was actually resolved.- Returns:
- The located field.
-