void (@NotNull ActionContext context, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiLocalVariable variable = findVariable(element); if (variable != null) { processVariable(context.project(), updater, variable); } else { PsiExpression expression = findExpression(element); if (expression != null) { processExpression(context.project(), updater, expression); } } }