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.
There is no way how to add just comments to method body through current API. Current comments are always related to statements.
*** Issue 106708 has been marked as a duplicate of this issue. ***
*** Issue 98522 has been marked as a duplicate of this issue. ***
I cannot do anything with it for the current release. I still have bugs considered more important... I'm sorry.
Standalone comments are also not copied with Trees. See issue 144209.
Lost comments in issue 144209, which this issue blocks, is considered P2
Overtake.
*** Issue 166423 has been marked as a duplicate of this issue. ***
jet-main #b88fb5861550
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b88fb5861550 User: Rastislav Komara <moonko@netbeans.org> Log: Fixing issues: #103623, #154393, #146519: improvement in comments manipulation and comments printing.