boolean (@NotNull PsiSwitchLabelStatement statement) { PsiCaseLabelElementList labelElementList = statement.getCaseLabelElementList(); if (labelElementList == null) return false; return ContainerUtil.exists(labelElementList.getElements(), el -> el instanceof PsiDefaultCaseLabelElement); }