TextAttributesKey (LineData lineData) { int status = lineData == null ? LineCoverage.NONE : lineData.getStatus(); return switch (status) { case LineCoverage.FULL -> CodeInsightColors.LINE_FULL_COVERAGE; case LineCoverage.PARTIAL -> CodeInsightColors.LINE_PARTIAL_COVERAGE; default -> CodeInsightColors.LINE_NONE_COVERAGE; }; }