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.
It seems that several modules need methods like "Implement All Abstract Methods". It would be nice to have utilities in java/source that would provide such services. The exact list of the utility methods is currently pending.
It would be nice to also have methods for creating at least the default Java class and interface from the respective templates. Something like: void createDefaultClass(FileObject targetFolder, String name) throws IOException; void createDefaultInterface(FileObject targetFolder, String name) throws IOException; or perhaps just enum TemplateKind { CLASS, INTERFACE }; void createFromTemplate(TemplateKind template, FileObject targetFolder, String name) throws IOException; which can be nicely extended with further templates, but has the disadvantage that it doesn't allow more parameters for other templates that might need more than just a name String.
I would like to avoid keeping a 3rd copy of GenerationUtils in j2ee/persistence/verification, hope this issue moves forward...
Overtake.