} else if (obj instanceof ClassAnnotation) { setIcon(classIcon); } else if (obj instanceof MethodAnnotation) { setIcon(methodIcon); } else if (obj instanceof FieldAnnotation) { setIcon(fieldIcon); } else { setIcon(null);
        public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel,            boolean expanded, boolean leaf, int row, boolean hasFocus) {                             super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus);                        // Set the icon, depending on what kind of node it is            DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;            Object obj = node.getUserObject();            if (obj instanceof BugInstance) {                setIcon(bugIcon);            }                        return this;        }