private boolean areNavigationElementsEqual(DefiniteLightVariable another) {
    PsiElement navigationElement = getNavigationElement();
    if (navigationElement == this) return another.getNavigationElement() == another;
    return Objects.equals(navigationElement, another.getNavigationElement());
  }
private boolean areNavigationElementsEqual(DefiniteLightVariable another)