HighlightingFeature (@NotNull @NonNls String feature) { return switch (feature) { case "PATTERN_MATCHING_IN_INSTANCEOF" -> PATTERNS; case "TEXT_BLOCKS" -> TEXT_BLOCKS; case "RECORDS" -> RECORDS; case "SEALED_CLASSES" -> SEALED_CLASSES; default -> null; }; }