code: public void mandatoryNote(final JavaFileObject file, Note noteKey) {
          report(diags.mandatoryNote(getSource(file), noteKey));
      }
docs: Provide a non-fatal notification, unless suppressed by the -nowarn option.
  @param noteKey    The key for the localized notification message.