boolean (@NotNull PackagingElement<?> element, @NotNull PackagingElementPath path) { if (element instanceof FileCopyPackagingElement) { final VirtualFile file = ((FileCopyPackagingElement)element).findFile(); if (file != null) { final VirtualFile jarRoot = JarFileSystem.getInstance().getJarRootForLocalFile(file); if (jarRoot != null) { extracted.add( PackagingElementFactory.getInstance().createExtractedDirectory(jarRoot)); } } } return true; }