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