@Override protected void computeHashCode() { super.computeHashCode(); // hashCode *= hashCodePrime; // for (TypeDecl thisSuperType : superTypes) { // hashCode += thisSuperType.hashCode(); // } }
private String buildCompareString(AbstractClassFragment frag) { final String sigClassName; final AbstractClassSignature fragmentSignature = frag.getSignature(); AbstractClassSignature parentSig = fragmentSignature.getParent(); if (parentSig != null) { while (parentSig.getParent() != null) { parentSig = parentSig.getParent(); } sigClassName = parentSig.getName(); } else { sigClassName = fragmentSignature.getName(); } return (sigClassName.toLowerCase().equals(favoritClass) ? 'a' : 'b') + fragmentSignature.getName().toLowerCase(); }