void (ErrorStripePainter painter, int index, Object object) { if (object instanceof DefaultMutableTreeNode node) { object = node.getUserObject(); } super.update(painter, index, getStripe(object, myTree.isExpanded(index))); }