boolean (final Object o) { if (this == o) return true; if (!(o instanceof JavaPsiClassReferenceElement that)) return false; if (myQualifiedName != null) { return myQualifiedName.equals(that.myQualifiedName); } return Comparing.equal(myClass, that.myClass); }