boolean (@NotNull PsiElement element) { VirtualFile file = PsiUtilCore.getVirtualFile(element); if (file != null) { myNodeUpdater.updateFromFile(file); } else { updateByElement(element, true); } return true; }