void (JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (value instanceof CheckedTreeNode checkedTreeNode) { final Object userObject = checkedTreeNode.getUserObject(); if (userObject instanceof CoverageSuite suite) { getTextRenderer().append(suite.getPresentableName(), SimpleTextAttributes.REGULAR_ATTRIBUTES); final String date = " (" + DateFormatUtil.formatPrettyDateTime(suite.getLastCoverageTimeStamp()) + ")"; getTextRenderer().append(date, SimpleTextAttributes.GRAY_ATTRIBUTES); } } else if (value instanceof DefaultMutableTreeNode defaultNode) { final Object userObject = defaultNode.getUserObject(); if (userObject instanceof @Nls String name) { getTextRenderer().append(name); } } }