public void startGroup(Object member_) { BugInstance member = (BugInstance) member_;
public void startGroup(BugInstance member) {
            public void startGroup(Object member_) {                BugInstance member = (BugInstance) member_;                String groupName;                if (groupBy == GROUP_BY_CLASS)                    groupName = member.getPrimaryClass().getClassName();                else if (groupBy == GROUP_BY_PACKAGE) {                    groupName = member.getPrimaryClass().getPackageName();                    if (groupName.equals(""))                        groupName = "Unnamed package";                } else if (groupBy == GROUP_BY_BUG_TYPE) {                    String desc = member.toString();                    String shortBugType = desc.substring(0, desc.indexOf(':'));                    String bugTypeDescription = I18N.instance().getBugTypeDescription(shortBugType);                    groupName = shortBugType + ": " + bugTypeDescription;                } else                    throw new IllegalStateException("Unknown sort order: " + groupBy);                currentGroup = new BugInstanceGroup(groupBy, groupName);                currentGroupNode = new DefaultMutableTreeNode(currentGroup);                bugTreeModel.insertNodeInto(currentGroupNode, bugRootNode, bugRootNode.getChildCount());                                insertIntoGroup(member);            }