boolean (@NotNull PsiElement element) { if (!(element instanceof JsonProperty otherProperty)) { return false; } // May reference to the property with the same name for compatibility with JavaScript JSON support final PsiElement selfResolve = resolve(); return otherProperty.getName().equals(getCanonicalText()) && selfResolve != otherProperty; }