void addEnhancedCases() {
    if (!canAddKeywords()) return;

    boolean statementPosition = isStatementPosition(myPosition);
    if (statementPosition) {
      addCaseDefault();

      addPatternMatchingInSwitchCases();
    }
    if (IN_CASE_LABEL_ELEMENT_LIST.accepts(myPosition)) {
      addCaseAfterNullDefault();
    }
  }
void addEnhancedCases()