code: @Deprecated
      private static Map<WriterKind, PrintWriter>  initWriters(PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter) {
          Map<WriterKind, PrintWriter> writers = new EnumMap<>(WriterKind.class);
          writers.put(WriterKind.ERROR, errWriter);
          writers.put(WriterKind.WARNING, warnWriter);
          writers.put(WriterKind.NOTICE, noticeWriter);
  
          writers.put(WriterKind.STDOUT, noticeWriter);
          writers.put(WriterKind.STDERR, errWriter);
  
          return writers;
      }
docs: Initialize a writer map with different streams for different types of diagnostics.
  @param errWriter a stream for writing error messages
  @param warnWriter a stream for writing warning messages
  @param noticeWriter a stream for writing notice messages
  @return a map of writers
  @deprecated This method exists to support a supported but now deprecated javadoc entry point.