void (@NotNull PsiTypeTestPattern pattern) { super.visitTypeTestPattern(pattern); if (pattern.getParent() instanceof PsiCaseLabelElementList) { add(checkFeature(pattern, HighlightingFeature.PATTERNS_IN_SWITCH)); } }