void () { if (!ApplicationManager.getApplication().isWriteIntentLockAcquired()) return; if (myModule == null) return; Project project = myModule.getProject(); ProjectView.getInstance(project).refresh(); PsiManager.getInstance(project).dropPsiCaches(); DaemonCodeAnalyzer.getInstance(project).restart(); }