float (boolean isForRenderedDoc) { int result = ApplicationManager.getApplication().isUnitTestMode() ? 100 : isForRenderedDoc ? Registry.intValue("documentation.component.highlighting.saturation.for.rendered.docs") : Registry.intValue("documentation.component.highlighting.saturation.for.hints"); return MathUtil.clamp(result, 0, 100) * 0.01F; }