Example usage for Java com.google.common.base Verify fields, constructors, methods, implement or subclass
The text is from its open source code.
T | verifyNotNull(@Nullable T reference) Ensures that reference is non-null, throwing a VerifyException with a default message otherwise. |
T | verifyNotNull(@Nullable T reference, @Nullable String errorMessageTemplate, @Nullable Object... errorMessageArgs) Ensures that reference is non-null, throwing a VerifyException with a custom message otherwise. |