void (TypeMigrationUsageInfo varUsageInfo) { final PsiElement var = varUsageInfo.getElement(); if (!(var instanceof PsiLocalVariable || var instanceof PsiField)) return; ((PsiVariable) var).normalizeDeclaration(); TypeMigrationReplacementUtil.migrateMemberOrVariableType(var, var.getProject(), getTypeEvaluator().getType(varUsageInfo)); }