void (@NotNull JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { AbstractTreeNode treeNode = (AbstractTreeNode)value; append(treeNode.getText(), treeNode.getAttributes()); final String errorText = treeNode.getErrorText(); if (errorText != null) { append(" - ", SimpleTextAttributes.REGULAR_ATTRIBUTES); append(VcsBundle.message("update.error.label"), SimpleTextAttributes.ERROR_ATTRIBUTES); append(errorText, SimpleTextAttributes.REGULAR_ATTRIBUTES); } setIcon(treeNode.getIcon(false)); SpeedSearchUtil.applySpeedSearchHighlighting(tree, this, true, selected); }