void (final ChangesBrowserNodeRenderer renderer, final VirtualFile vFile, final String fileName, final Color color, final boolean highlightProblems) { int style = SimpleTextAttributes.STYLE_PLAIN; Color underlineColor = null; if (highlightProblems && vFile != null && !vFile.isDirectory() && myProblemSolver.isProblemFile(vFile)) { underlineColor = JBColor.RED; style = SimpleTextAttributes.STYLE_WAVED; } renderer.append(fileName, new SimpleTextAttributes(style, color, underlineColor)); }