class Preconditions {

    public static <T> T checkArgument(T reference, boolean expression) {
        if (!expression) {
            throw new IllegalArgumentException();
        }
        return reference;
    }

    private  Preconditions();

}