void (@NotNull JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { value = ((DefaultMutableTreeNode)value).getUserObject(); setPaintFocusBorder(false); if (!(value instanceof DNamedElement)) return; if (value instanceof DClassElement) { final String containingClassName = ((DClassElement)value).getName(); // append(className, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); final String classShortName = QuickfixUtil.shortenType(containingClassName); append(classShortName, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); } if (value instanceof DItemElement itemElement) { final String name = itemElement.getName(); appendName(name); if (value instanceof DMethodElement) { appendMethodParameters((DMethodElement)value); } } }