public final class Preconditions
extends Object
-
Method Summary
static void
static void
static void
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
checkArgument
@Contract("false, _, _ -> fail")
public static void checkArgument(boolean value,
String message,
Object... args)
-
notNull
@Contract("null, _ -> fail")
public static void notNull(Object value,
String name)
-
isNull
@Contract("_, _ -> fail")
public static void isNull(Object value,
String name)
-