builder.allow(policy, "(osgi.wiring.package=" + pkg + ")");
}
if (header == null)
return;
for (ImportPackageHeader.Clause clause : header.getClauses()) {
ImportPackageRequirement requirement = new ImportPackageRequirement(clause, this);
String filter = requirement.getDirectives().get(ImportPackageRequirement.DIRECTIVE_FILTER);
builder.allow(policy, filter);
}
}