private void addCase() {
    extend(
      CompletionType.BASIC, psiElement()
        .withLanguage(PythonLanguage.getInstance())
        .and(PY310)
        .and(IN_BEGIN_STMT)
        .and(psiElement().withSuperParent(4, PyMatchStatement.class)),
      new PyKeywordCompletionProvider(TailTypes.noneType(), PyNames.CASE));
  }
private void addCase()