boolean (XmlFile file, final 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).getIncludedFiles(virtualFile, true); return processRelatedFiles(file, files, processor); }