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 code generated by hints inferferes with generated code (matisse). So far I had these problems: - I accidently clicked on "add throws clause" in a autogenerated handler function. As I cannot remove the throws clause from the generated part. Fortunately I immediately noticed the mistake and could undo it. As I cannot remove the throws clause from the generated part, it might have grown into a problem later. I think for functions with a generated (and therefore protected) declaration the hint system should not display hints that modify it. - In the second case I added an interface and used the hint to implement the abstract functions. The function declaration ended up in the middle(!) of a generated variable declaration. When I used undo, moved the cursor and then refollowed the hint, it was placed correctly so it may be related to the cursor position. All in all I think the hint system should take care not to modify (matisse) generated code.
*** This issue has been marked as a duplicate of 73805 ***