boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; JavaMethodReferenceArgumentAnchor anchor = (JavaMethodReferenceArgumentAnchor)o; return Objects.equals(myMethodRef, anchor.myMethodRef); }