private @Nullable Set<VirtualFile> getReferentFiles(@NotNull PsiElement element) {
    return getReferentFiles(element, true, (ref, elementPlace) -> myReader.findReferentFileIds(ref, elementPlace == ElementPlace.SRC));
  }
private @Nullable Set<VirtualFile> getReferentFiles(@NotNull PsiElement element)