void (AntDomIncludingDirective directive) { final PsiFileSystemItem item = directive.getFile().getValue(); if (item instanceof PsiFile) { final AntDomProject slaveProject = AntSupport.getAntDomProject((PsiFile)item); if (slaveProject != null) { slaveProject.accept(this); } } }