code: private static Class<?>[] getTypes(Object... objects) {
          if (objects == null) {
              return new Class[0];
          }
  
          Class<?>[] result = new Class[objects.length];
  
          for (int i = 0; i < objects.length; i++) {
              Object value = objects[i];
              result[i] = value == null ? NULL.class : value.getClass();
          }
  
          return result;
      }
docs: Get objects type
  if obj is null, we return {@link NULL} class
  
  @param objects Object array
  @return obj type array
  @see Object#getClass()