List<PsiElement> (VirtualFile file) { final MapDataContext context = createDataContext(file); UsageTarget[] targets = UsageTargetUtil.findUsageTargets(context::getData); PsiElement target = ((PsiElement2UsageTargetAdapter)targets[0]).getElement(); List<PsiReference> result = new ArrayList<>(ReferencesSearch.search(target).findAll()); return ContainerUtil.map(result, PsiReference::getElement); }