code: public static <T> T requireNonNull( Class<T> type, T value )
      {
          return Objects.requireNonNull( value, type::getSimpleName );
      }
docs: Require an instance not to be null, using the (simple) name of the required type as an error message if it is.
  
  @param type  the required type.
  @param value the value that must not be null.
  @param <T>   the type.
  @return the value, that is guaranteed not to be null.
  @see Objects#requireNonNull(Object, Supplier)