| Constructor | Description |
|---|---|
RawRefChecker(java.lang.String name) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
explain(boolean result,
java.lang.String argName) |
Explains the conditions at which a positive or negative result is obtained.
|
Checker<?> |
getDelegate() |
|
java.lang.String |
getName() |
|
cdc.util.refs.ResolutionStatus |
getResolutionStatus() |
|
java.lang.Class<java.lang.Object> |
getValueClass() |
|
void |
resolve(cdc.util.lang.FailureReaction reaction) |
Resolves the delegate.
|
boolean |
test(java.lang.Object value) |
after, after, afterRaw, and, andRaw, cast, cast, explain, explain, fromConverter, fromFunction, negate, or, orRaw, testAndExplain, testAndExplainpublic java.lang.String getName()
public void resolve(cdc.util.lang.FailureReaction reaction)
The delegate is searched only the first time this method is called.
reaction - The reaction to adopt if resolution fails.public cdc.util.refs.ResolutionStatus getResolutionStatus()
public Checker<?> getDelegate()
null if resolution is not yet done or failed.public java.lang.Class<java.lang.Object> getValueClass()
getValueClass in interface Checker<java.lang.Object>public boolean test(java.lang.Object value)
public java.lang.String explain(boolean result,
java.lang.String argName)
CheckerCopyright © 2019. All rights reserved.