@FormatMethod
      private void printMessage(Kind kind, String format, Object... args) {
        if (kind.equals(ERROR)) {
          hasErrors = true;
        }
        messager.printMessage(kind, String.format(format, args), method);
      }
The overriding method that should be added to the subclass.
value/src/main/java/com/google/auto/value/extension/memoized/processor/MemoizeExtension.java