Community
Participate
Working Groups
This needs to happen early in the 3.8 cycle. There are many places in SWT where there are public fields or parameters, etc, that are not API. We have already flagged some of these as @noreference in the javadoc, but more work needs to be done. One particularly problematic area is in the graphics package. (GCData, etc). Start in a clean workspace (Car's bash workspace would be good), update the API baseline to 3.7.0, delete the org.eclipse.pde.api.tools.prefs and .api_filters files, and investigate every complaint in the problems view. Add @noreference (etc) javadoc wherever appropriate. See bug 279461 for some background data. See also bug 276173.
Do this for 3.8 M1.
See also bug 278089 and bug 305742 (new filters were released, but @noreference was never added).
*** Bug 347013 has been marked as a duplicate of this bug. ***
Also, make sure to search for the string: <b>IMPORTANT:</b> This
A quick list: - Drawable (methods already say @noreference - need it on interface) - TypedListener (methods already say @noreference - need it on class) - GCData (class already says @noinstantiate - does it need @noreference too?) Note that for fields, need to recompile for each platform to find all cases.
Olivier, should non-API public classes use both @noinstantiate and @noreference in the class javadoc? (or just @noinstantiate?)
(In reply to comment #4) > Also, make sure to search for the string: > <b>IMPORTANT:</b> This Please remember to tag Decorations with @noinstantiate and @noreference, its "IMPORTANT" text is not actually bolded.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.