return (BugInstance) getTreeSelectionOf(bugTree, BugInstance.class);
if ( bugTree != null ) { return (BugInstance) getTreeSelectionOf(bugTree, BugInstance.class); } return null;
    private BugInstance getCurrentBugInstance() {        JTree bugTree = getCurrentBugTree();        return (BugInstance) getTreeSelectionOf(bugTree, BugInstance.class);    }