public class OptionalShouldBePresent extends BasicErrorMessageFactory
Optional.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
OptionalShouldBePresent(java.lang.Object optional) |
| Modifier and Type | Method and Description |
|---|---|
static OptionalShouldBePresent |
shouldBePresent(java.lang.Object optional)
Indicates that a value should be present in an empty
Optional. |
create, create, create, equals, hashCode, toString, unquotedStringprivate OptionalShouldBePresent(java.lang.Object optional)
public static OptionalShouldBePresent shouldBePresent(java.lang.Object optional)
Optional.optional - java.lang.NullPointerException - if optional is null.