boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; JavaMethodReferenceReturnAnchor anchor = (JavaMethodReferenceReturnAnchor)o; return myMethodReferenceExpression.equals(anchor.myMethodReferenceExpression); }