bndtools/bnd — Issue #137: Incorrect default for @Reference name
Author: bjhargrave
Created: 2012-02-16 17:26:52+00:00
State: open

When processing the DS @Reference annotation, bnd does not properly create the default name value. There was an inconsistency in the spec but CPEG just decide that the javadoc is correct:

"If not specified, the name of this reference is based upon the name of the method being annotated. If the method name begins with bind, set or add, that is removed."

bnd currently just uses the complete method name. It must be changed to remove any leading "bind", "set" or "add".