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