void () { PsiTreeChangeEventImpl event = new PsiTreeChangeEventImpl(myManager); event.setPropertyName(PsiTreeChangeEvent.PROP_UNLOADED_PSI); myManager.beforePropertyChange(event); myManager.propertyChanged(event); }