added equals() and hashCode() to AnalyzedMethod for comparison in the
Cache