@Override
  public boolean equals(Object obj) {
    return obj == this || obj instanceof PsiMethodReferenceType && myReference.equals(((PsiMethodReferenceType)obj).myReference);
  }
@Override
  public boolean equals(Object obj)