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.
A module can't protect a particular method from user editing operations, because the JavaEditor class does not publish functions for creating a new guarded blocks over an existing text. Guarded blocks may be created using OpenAPIs, but those are not saved along with the source.
Additional API was created in the Java module -- see Java module's webpages.
http://java.netbeans.org/FunctionalSpec/GuardedBlockAPI.html
Resolved for 3.4.x or earlier, no new info since then -> closing.