class Utilities
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Utilities() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
checkNonNull(java.lang.Object obj,
java.lang.String name)
This method is similar to
Objects.requireNonNull() . |
static void checkNonNull(java.lang.Object obj, java.lang.String name)
Objects.requireNonNull()
.
But this one is available for JDK 1.6 which is the
current target of args4j.
I didn't want to break compatibility with JDK 1.6.obj
- the object to check for null
value.name
- the object name. If obj
is null
, then
an exception is constructed from this name.