code: private boolean isObjectMethod(Method method) {
      for (Method objectMethod : Object.class.getMethods()) {
        if (method.getName().equals(objectMethod.getName())) {
          if (equalParamTypes(objectMethod.getParameterTypes(), method.getParameterTypes())) {
            return true;
          }
        }
      }
  
      return false;
    }
docs: Check if method is defined by Object class (e.g. {@link Object#hashCode()}.