docs: private static Map<ObjectMethod, ExecutableElement> determineObjectMethodsToGenerate(
        Set<ExecutableElement> methods) {
      Map<ObjectMethod, ExecutableElement> methodsToGenerate = new EnumMap<>(ObjectMethod.class);
      for (ExecutableElement method : methods) {
        ObjectMethod override = objectMethodToOverride(method);
        boolean canGenerate =
            method.getModifiers().contains(Modifier.ABSTRACT)
                || isJavaLangObject((TypeElement) method.getEnclosingElement());
        if (!override.equals(ObjectMethod.NONE) && canGenerate) {
          methodsToGenerate.put(override, method);
        }
      }
      return methodsToGenerate;
    }