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.
SuppressWarnings
StaticResource
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
SuppressWarnings
StaticResource
org.netbeans.api.annotations.common.StaticResource
StaticResource
org.netbeans.api.annotations.common.SuppressWarnings
In order to enable -Werror
to treat warnings
as errors, we need to get rid of annotation errors caused
by missing When
constants as
PR-2835
explains. This is done by exposing transitively needed,
but previously missing javax.annotation
elements.
Javadoc for the javax
isn't generated and they aren't
recommended to be used directly.
SuppressWarnings
SuppressWarnings
; made by: phejl; issues:
#221381
Introduced justification attribute to specify why it is ok to suppress a warning.
StaticResource
StaticResource
; made by: jglick; issues:
#205377
Introduced an annotation for validating the existence of static resources.