PsiCaseLabelElement (@NotNull List<? extends PsiCaseLabelElement> labelElements, @NotNull PsiType type) { return ContainerUtil.find(labelElements, element -> JavaPsiPatternUtil.isUnconditionalForType(element, type)); }