This document lists changes made to the Common Annotations API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.annotations.common > 1.20
In order to enable
-Werror to treat warnings
as errors, we need to get rid of annotation errors caused
When constants as
explains. This is done by exposing transitively needed,
but previously missing
Javadoc for the
javax isn't generated and they aren't
recommended to be used directly.
SuppressWarnings; made by: phejl; issues: #221381
Introduced justification attribute to specify why it is ok to suppress a warning.
StaticResource; made by: jglick; issues: #205377
Introduced an annotation for validating the existence of static resources.