ClassHash lhsHash = bugCollection.getClassHash(lhsClass.getClassName()); ClassHash rhsHash = bugCollection.getClassHash(rhsClass.getClassName());
ClassHash lhsHash = getClassHash(lhsCollection, lhsClass.getClassName()); ClassHash rhsHash = getClassHash(rhsCollection, rhsClass.getClassName());
	public int compareClasses(ClassAnnotation lhsClass, ClassAnnotation rhsClass) {		if (lhsClass == null || rhsClass == null) {			return compareNullElements(lhsClass, rhsClass);		}				int cmp;				// Compare by class name.  If same, great.		cmp = lhsClass.compareTo(rhsClass);		if (cmp == 0)			return 0;				// Get class hashes		ClassHash lhsHash = bugCollection.getClassHash(lhsClass.getClassName());		ClassHash rhsHash = bugCollection.getClassHash(rhsClass.getClassName());		if (lhsHash == null || rhsHash == null)			return cmp;				return lhsHash.isSameHash(rhsHash) ? 0 : cmp;	}