docs: static ImmutableSet<ExecutableElement> prefixedGettersIn(Iterable<ExecutableElement> methods) {
      ImmutableSet.Builder<ExecutableElement> getters = ImmutableSet.builder();
      for (ExecutableElement method : methods) {
        String name = method.getSimpleName().toString();
        // Note that getfoo() (without a capital) is still a getter.
        boolean get = name.startsWith("get") && !name.equals("get");
        boolean is =
            name.startsWith("is")
                && !name.equals("is")
                && method.getReturnType().getKind() == TypeKind.BOOLEAN;
        if (get || is) {
          getters.add(method);
        }
      }
      return getters.build();
    }