markwon-html/src/main/java/ru/noties/markwon/html/jsoup/helper/Validate.java
public static void noNullElements(Object[] objects, String msg) {
        for (Object obj : objects)
            if (obj == null)
                throw new IllegalArgumentException(msg);
    }
public static void noNullElements(Object[] objects, String msg) {
        for (Object obj : objects)
            if (obj == null)
                throw new IllegalArgumentException(msg);
    }
public static void noNullElements ( Object [ ] objects , String msg ) { for ( Object obj : objects ) if ( obj == null ) throw new IllegalArgumentException ( msg ) ; }
Validates that the array contains no null elements
@param objects the array to test
@param msg message to output if validation fails
Validates that the array contains no null elements