@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved extends java.lang.Object implements Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Resolved, Plugin.Factory.UsingReflection.ArgumentResolver.Resolution.Unresolved
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
argument
The resolved argument which might be
null . |
Constructor and Description |
---|
Resolved(java.lang.Object argument)
Creates a resolved argument resolution.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getArgument()
Returns the resolved argument if the resolution was successful.
|
boolean |
isResolved()
Returns
true if the represented argument is resolved successfully. |
@HashCodeAndEqualsPlugin.ValueHandling(value=REVERSE_NULLABILITY) private final java.lang.Object argument
null
.public Resolved(java.lang.Object argument)
argument
- The resolved argument which might be null
.public boolean isResolved()
true
if the represented argument is resolved successfully.isResolved
in interface Plugin.Factory.UsingReflection.ArgumentResolver.Resolution
true
if the represented argument is resolved successfully.public java.lang.Object getArgument()
getArgument
in interface Plugin.Factory.UsingReflection.ArgumentResolver.Resolution