void (@NotNull JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { DefaultMutableTreeNode node = (DefaultMutableTreeNode)value; if (node.getUserObject() instanceof Class<?> cls) { @NlsSafe String name = cls.getName(); append(name, SimpleTextAttributes.REGULAR_ATTRIBUTES); } }