@NotNull
  public static PsiElement getHeaderEndAnchor(@NotNull PyAstStatementListContainer container) {
    final PyAstStatementList statementList = container.getStatementList();
    return Objects.requireNonNull(PsiTreeUtil.skipWhitespacesBackward(statementList));
  }
@NotNull
  public static PsiElement getHeaderEndAnchor(@NotNull PyAstStatementListContainer container)