List<LineMarkerProvider> (@NotNull Language language, @NotNull Project project) { List<LineMarkerProvider> forLanguage = LineMarkerProviders.getInstance().allForLanguageOrAny(language); List<LineMarkerProvider> providers = DumbService.getInstance(project).filterByDumbAwareness(forLanguage); LineMarkerSettings settings = LineMarkerSettings.getSettings(); return ContainerUtil.filter(providers, provider -> !(provider instanceof LineMarkerProviderDescriptor line) || settings.isEnabled(line)); }