class Assertions {

    private Assertions() {
    }

    @Contract(value = "null, _ -> fail", pure = true)
    public static String assertNotEmpty(@Nullable String value, String name) {<FILL_FUNCTION_BODY>}
}

        requireNonNull(value, name);
        if (value.length() == 0) {
            throw new IllegalArgumentException("empty " + name);
        }
        return value;
    
<no_super_class>