public Map<SliceNode, Collection<PsiElement>> createMap() {
    Function<SliceNode, Collection<PsiElement>> function = k -> {
      return ConcurrentCollectionFactory.createConcurrentSet(new HashingStrategy<>() {
        @Override
        public int hashCode(PsiElement object) {
          return myLeafEquality.hashCode(object);
        }

        @Override
        public boolean equals(PsiElement o1, PsiElement o2) {
          return myLeafEquality.equals(o1, o2);
        }
      });
    };
    return ConcurrentFactoryMap.create(function, ConcurrentCollectionFactory::createConcurrentIdentityMap);
  }
public Map<SliceNode, Collection<PsiElement>> createMap()