@ NullSafe @ SuppressWarnings ( "all" ) public static boolean areAllNull ( Object ... values ) { for ( Object value : nullSafeArray ( values ) ) { if ( value != null ) { return false ; } } return true ; }
Null - safe method to determine if all the values in the array are null .