This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
An annotation to prevent the developer from accidentally moving or deleting a static resource (icon, ...) which is still referred to from live code.
Created attachment 113382 [details] Proposed patch (API plus sample usage)
Please review.
Y01 Module API does not seem like a natural place to host this API. Consider putting this into Common Annotation API. Btw. I'd like to add there @FinalInterface during 7.2 release...
Common Annotations could work too. Really openide.filesystems or something depending on it would be easier, so that I could reuse impl from LayerBuilder, but this does not seem good from a dependency standpoint.
core-main #21b5127751a3
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/21b5127751a3 User: Jesse Glick <jglick@netbeans.org> Log: #205377: @StaticResource