public final class Assert
extends Object
Assertion utilities.
-
Constructor Summary
Constructors
-
Method Summary
static void
static <T> T
static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
isTrue
public static void isTrue(boolean expression,
String errorMessageFormat,
Object... args)
-
notNull
public static <T> T notNull(T reference,
String parameterName)
-
state
public static void state(boolean expression,
String errorMessageFormat,
Object... args)