boolean (Object o) { if (this == o) return true; return o instanceof JavaMethodReferenceElement element && getLookupString().equals(element.getLookupString()) && myRefPlace.equals(element.myRefPlace); }