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