Top Description Constructors Methods
org.kohsuke.args4j

pack-priv Class Utilities

extends Object
Class Inheritance

Misc utility methods. Don't make this class visible to the outside world. When we switch to JDK 1.7, re-check the sense of this class.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
checkNonNull(Object
the object to check for null value.
obj
,
String
the object name. If obj is null, then an exception is constructed from this name.
name
)

This method is similar to Objects.requireNonNull().

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utilitiesback to summary
private Utilities()

Method Detail

checkNonNullback to summary
pack-priv static void checkNonNull(Object obj, String name)

This method is similar to 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.

Parameters
obj:Object

the object to check for null value.

name:String

the object name. If obj is null, then an exception is constructed from this name.