public final class Arguments extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
checkNotNull(T arg,
String text)
Checks that the given argument is not null.
|
public static <T> T checkNotNull(T arg,
String text)
NullPointerException.
Otherwise, returns the argument.arg - the argument to check.text - the text to display if the arg was nullCopyright © 2015 JBoss by Red Hat. All Rights Reserved.