PsiElement (@Nullable PsiElement parent) { parent = PsiUtil.skipParenthesizedExprUp(parent); while (parent instanceof PsiAssignmentExpression) { parent = PsiUtil.skipParenthesizedExprUp(parent.getParent()); } return parent; }