for (ProvideCapabilityHeader.Clause clause : pch.getClauses())
capabilities.add(new ProvideCapabilityCapability(clause, this));
}
private void computeGenericRequirements() {
RequireCapabilityHeader rch = (RequireCapabilityHeader)manifest.getHeader(RequireCapabilityHeader.NAME);
if (rch != null)
for (RequireCapabilityHeader.Clause clause : rch.getClauses())
requirements.add(new RequireCapabilityRequirement(clause, this));
}