public static <T> T checkNotEmpty(T reference) {
        checkNotNull(reference, "Expected not null object, got '%s'", reference);
        checkNotEmpty(reference, "Expected not empty object, got '%s'", reference);
        return reference;
    }
public static < T > T checkNotEmpty ( T reference ) { checkNotNull ( reference , "Expected not null object, got '%s'" , reference ) ; checkNotEmpty ( reference , "Expected not empty object, got '%s'" , reference ) ; return reference ; }
Performs emptiness and nullness check.
@see #checkNotEmpty(Object, String, Object...)