PsiElement (@NotNull final PsiElement element) { final PyElement compStatement = getStatementList(element); if (compStatement == null) { return null; } return getParentRightBefore(element, compStatement); }