FileHighlightingSetting (@NotNull InspectionsLevel inspectionsLevel) { return switch (inspectionsLevel) { case NONE -> SKIP_HIGHLIGHTING; case SYNTAX -> SKIP_INSPECTION; case ESSENTIAL -> ESSENTIAL; case ALL -> FORCE_HIGHLIGHTING; }; }