njbartlett/bndtools — Issue #169: Generate better uses clauses
Author: djencks
Created: 2011-10-10 16:31:11+00:00
State: open

(cf discussion around 23 feb 2011).

Currently bnd generates uses clauses by including all packages mentioned anywhere in the bytecode of the classes. It should only include packages mentioned in accessible method signatures, superclasses, and implemented interfaces. For a well-designed package these will be the same, but legacy code often includes implementation classes in exposed packages and for these bnd tends to generate much too inclusive uses clauses.