PsiElement (@NotNull PsiElement element) { PsiElement current = element; PsiElement parent = element.getParent(); while (parent instanceof PsiParenthesizedExpression) { current = parent; parent = current.getParent(); } return current; }