private void registerLocallyReferenced(@NotNull PsiNamedElement result) {
      myDclsUsedMap.add(PsiAnchor.create(result));
    }
private void registerLocallyReferenced(@NotNull PsiNamedElement result)