@Override
  public final void beforeCompileTaskExecution(@NotNull JavaCompilingTool compilingTool,
                                               @NotNull JavaCompiler.CompilationTask task,
                                               @NotNull Iterable<String> options,
                                               @NotNull final DiagnosticOutputConsumer diagnosticConsumer) {
    if (compilingTool.isCompilerTreeAPISupported() && isEnabled()) {
      JavacReferenceCollector.installOn(task, new JavacReferenceCollector.Consumer<JavacFileData>() {
        @Override
        public void consume(JavacFileData data) {
          diagnosticConsumer.registerJavacFileData(data);
        }
      });
    }
  }
@Override
  public final void beforeCompileTaskExecution(@NotNull JavaCompilingTool compilingTool,
                                               @NotNull JavaCompiler.CompilationTask task,
                                               @NotNull Iterable<String> options,
                                               @NotNull final DiagnosticOutputConsumer diagnosticConsumer)