boolean (@NotNull XmlFile file, PsiElementProcessor<? super XmlFile> processor) { VirtualFile virtualFile = file.getVirtualFile(); if (virtualFile == null) { return processor.execute(file); } final Project project = file.getProject(); final VirtualFile[] files = FileIncludeManager.getManager(project).getIncludingFiles(virtualFile, true); return processRelatedFiles(file, files, processor); }