void (@NotNull JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (value instanceof LoadingNode) { append(LoadingNode.getText()); return; } InspectionTreeNode node = (InspectionTreeNode)value; append(node.getPresentableText(), patchMainTextAttrs(node, node.appearsBold() ? SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES : getMainForegroundAttributes(node))); myTailRenderer.appendTailText(node); setIcon(node.getIcon(expanded)); }