Object version = getVersion();
Capability capability = factory.createModule(getName(), version);
capabilities.add(capability);
// Do we determine package capabilities
ClassFilter included = getIncluded();
ClassFilter excluded = getExcluded();
ClassFilter excludedExport = getExcludedExport();
ExportAll exportAll = getExportAll();
if (exportAll != null)
{
Set<String> exportedPackages = PackageVisitor.determineAllPackages(roots, null, exportAll, included, excluded, excludedExport);
for (String packageName : exportedPackages)