boolean (@NotNull List<? extends PsiCaseLabelElement> labelElements) { boolean selectorIsTypeOrClass = getSwitchSelectorKind() == SelectorKind.CLASS_OR_ARRAY; return JavaPsiSwitchUtil.isEnhancedSwitch(labelElements, selectorIsTypeOrClass); }