code: public static void throwIfNull(Object obj1, Object obj2) {
          if(obj1 == null){
              throw new IllegalArgumentException();
          }
          if(obj2 == null){
              throw new IllegalArgumentException();
          }
      }
docs: faster util method that avoids creation of array for two-arg cases