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.

Bug 73477

Summary: encapsulate fields could copy javadoc from selected field
Product: java Reporter: zais_ethael <zais_ethael>
Component: RefactoringAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 48296    
Bug Blocks:    

Description zais_ethael 2006-03-10 10:19:13 UTC
The encapsulate fiels is a very useful function but I think it could be 
enhanced.
When you encapsulate some fields, the two new methods created are javadoc-free. 
What I would like is to take the javadoc created for the field and copy it near 
the get and set methods, so you don't have to copy it yourself.
Comment 1 Jan Pokorsky 2008-04-28 17:32:36 UTC
Sounds interesting. It relates to issue #48296.
Comment 2 Jan Pokorsky 2008-04-28 18:22:11 UTC
implemented as http://hg.netbeans.org/main/rev/ab2b7b02a475
Comment 3 Quality Engineering 2008-04-29 04:19:06 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #164 build
Changeset: http://hg.netbeans.org/main/rev/ab2b7b02a475
User: Jan Pokorsky <jpokorsky@netbeans.org>
Log: #79042: Encapsulate Fields enhancements
  * select buttons #118849
  * insert point
  * sort by
  * comments #48296, #73477
  * setters for final fields
  * new layout