boolean (@NotNull FileReferenceSetParameters parameters, final @NotNull VirtualFile hostFile, boolean bind, @NotNull Processor<? super PsiFileSystemItem> processor) { PsiElement element = parameters.getElement(); getContexts(element.getProject(), hostFile).forEach(processor::process); return true; }