boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PsiBasedDomAnchor anchor = (PsiBasedDomAnchor)o; if (myAnchor != null ? !myAnchor.equals(anchor.myAnchor) : anchor.myAnchor != null) return false; if (myProject != null ? !myProject.equals(anchor.myProject) : anchor.myProject != null) return false; return true; }