public void setOccurrences(List<PsiElement> occurrences) {
    myOccurrences = ContainerUtil.map(occurrences, SmartPointerManager::createPointer);
  }
public void setOccurrences(List<PsiElement> occurrences)