diff -r c2b9f369e7f6 api.annotations.common/apichanges.xml --- a/api.annotations.common/apichanges.xml Fri Nov 02 14:17:36 2012 +0100 +++ b/api.annotations.common/apichanges.xml Fri Nov 02 19:08:38 2012 +0100 @@ -108,6 +108,22 @@ + + + Added justification attribute to SuppressWarnings + + + + + +

+ Introduced justificatio attribute to specify why it is ok to + suppress a warning. +

+
+ + +
Added StaticResource diff -r c2b9f369e7f6 api.annotations.common/manifest.mf --- a/api.annotations.common/manifest.mf Fri Nov 02 14:17:36 2012 +0100 +++ b/api.annotations.common/manifest.mf Fri Nov 02 19:08:38 2012 +0100 @@ -2,5 +2,5 @@ AutoUpdate-Show-In-Client: false OpenIDE-Module: org.netbeans.api.annotations.common/1 OpenIDE-Module-Localizing-Bundle: org/netbeans/annotations/common/resources/Bundle.properties -OpenIDE-Module-Specification-Version: 1.17 +OpenIDE-Module-Specification-Version: 1.18 diff -r c2b9f369e7f6 api.annotations.common/src/org/netbeans/api/annotations/common/SuppressWarnings.java --- a/api.annotations.common/src/org/netbeans/api/annotations/common/SuppressWarnings.java Fri Nov 02 14:17:36 2012 +0100 +++ b/api.annotations.common/src/org/netbeans/api/annotations/common/SuppressWarnings.java Fri Nov 02 19:08:38 2012 +0100 @@ -62,4 +62,13 @@ */ String[] value() default {}; + /** + * The justification for the suppression. Should be human readable + * description explaining why it is ok to suppress the message(s). + * + * @return the justification for the suppression + * @since 1.18 + */ + String justification() default ""; + }