@Override
  public void addCompilationStatusListener(@NotNull CompilationStatusListener listener) {
    final MessageBusConnection connection = myProject.getMessageBus().connect();
    myListenerAdapters.put(listener, connection);
    connection.subscribe(CompilerTopics.COMPILATION_STATUS, listener);
  }
@Override
  public void addCompilationStatusListener(@NotNull CompilationStatusListener listener)