private static boolean isSameExpression(@NotNull PsiElement context, @NotNull PsiExpression expression) {
    if (context instanceof PsiExpression) {
      return PsiUtil.skipParenthesizedExprDown((PsiExpression)context) == PsiUtil.skipParenthesizedExprDown(expression);
    }
    if (context instanceof PsiDeclarationStatement) {
      PsiElement parent = PsiUtil.skipParenthesizedExprUp(expression.getParent());
      return parent instanceof PsiLocalVariable && parent.getParent() == context;
    }
    return false;
  }
private static boolean isSameExpression(@NotNull PsiElement context, @NotNull PsiExpression expression)