void (@NotNull PsiVariable psiField) { final SmartTypePointer typePointer = SmartTypePointerManager.getInstance(myProject).createSmartTypePointer(getType()); super.restoreState(psiField); for (PsiExpression occurrence : myOccurrences) { if (!occurrence.isValid()) return; } try { myTypeSelectorManager = myExpr != null ? new TypeSelectorManagerImpl(myProject, typePointer.getType(), myExpr, myOccurrences) : new TypeSelectorManagerImpl(myProject, typePointer.getType(), myOccurrences); } catch (Exception e) { LOG.error(e); } }