use of aQute.bnd.annotation.headers.BundleLicense in project bnd by bndtools.
the class AnnotationHeaders method doLicense.
/*
* Bundle-License header
*/
private void doLicense(Annotation a) throws Exception {
BundleLicense annotation = a.getAnnotation(BundleLicense.class);
Parameters p = new Parameters();
p.put(annotation.name(), getAttributes(a, "name"));
add(Constants.BUNDLE_LICENSE, p.toString());
}
Aggregations