bnd/bnd — Issue #84: Generate better uses clauses
Author: djencks
Created: 2011-10-12 16:41:57+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.