void (@NotNull String reason) { DaemonCodeAnalyzerImpl daemon = (DaemonCodeAnalyzerImpl)DaemonCodeAnalyzer.getInstance(myProject); daemon.myDaemonListenerPublisher.daemonCanceled(reason, List.of(myFileEditor)); myFileEditor = null; }