What is Bnd @Attribute annotation for?

539 views Asked by At

When looking at annotations in aQute.bnd.annotation.component package in bndlib-1.50.0, there is one not listed at http://www.aqute.biz/Blog/20091020 or http://www.aqute.biz/Bnd/Components: @Attribute. What is it used for?

2

There are 2 answers

0
Chris Dolan On BEST ANSWER

It looks like a mistake to me. According to the git history (https://github.com/bndtools/bnd/commits/master/biz.aQute.bndlib/src/aQute/bnd/annotation/component/Attribute.java) there was just one commit to add it, and it's clearly incomplete due to the unused inner class C.

grepcode finds no usages anywhere (http://grepcode.com/search/usages?type=type&id=repo1.maven.org%[email protected]%[email protected]@aQute%24bnd%24annotation%24component@Attribute&k=u)

0
Peter Kriens On

It has no current function ...