code: @Deprecated
      public static JCDiagnostic fragment(String key, Object... args) {
          return new JCDiagnostic(getFragmentFormatter(),
                                DiagnosticInfo.of(FRAGMENT,
                                        "compiler",
                                        key,
                                        args),
                                null,
                                EnumSet.noneOf(DiagnosticFlag.class),
                                null,
                                null);
      }
docs: Create a fragment diagnostic, for use as an argument in other diagnostics
  @param key    The key for the localized error message.
  @param args   Fields of the error message.