@Nullable
  private static PsiElement findStatementBeforeCaret(ASTNode node) {
    return findBeforeCaret(node, PyAstStatement.class, PyAstStatementPart.class);
  }
@Nullable
  private static PsiElement findStatementBeforeCaret(ASTNode node)