code: public void report(LintLogger logger) {
          if (currentPos == IMMEDIATE_POSITION) {
              logger.report();
          } else {
              ListBuffer<LintLogger> loggers = loggersQueue.get(currentPos);
              if (loggers == null) {
                  loggersQueue.put(currentPos, loggers = new ListBuffer<>());
              }
              loggers.append(logger);
          }
      }
docs: Associate the given logger with the current position as set by {@link #setPos(DiagnosticPosition) }.
  Will be invoked when {@link #flush(DiagnosticPosition) } will be invoked with the same position.
  <br>
  Will invoke the logger synchronously if {@link #immediate() } was called
  instead of {@link #setPos(DiagnosticPosition) }.