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.
Sometimes it's needed not to merge the code with the existing java file but delete and generate the file as defined in the uml class.
can use case be described more specifically? should it be for entire project or some secific classes, etc.