public int compare(Object a, Object b) { BugInstance lhs = (BugInstance) a; BugInstance rhs = (BugInstance) b;
public int compare(BugInstance lhs, BugInstance rhs) {
        public int compare(Object a, Object b) {            BugInstance lhs = (BugInstance) a;            BugInstance rhs = (BugInstance) b;            return lhs.getPrimaryClass().getPackageName().compareTo(            rhs.getPrimaryClass().getPackageName());        }