boolean (VirtualFile file, final VirtualFilePointerContainer container) { for (VirtualFile excludedFile : container.getFiles()) { if (VfsUtilCore.isAncestor(excludedFile, file, false)) { return true; } } return false; }