Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 24502 - New property generates ugly comments
New property generates ugly comments
Status: NEW
Product: java
Classification: Unclassified
Component: Beans
All Windows 95/98
: P3 with 2 votes (vote)
Assigned To: Jan Becicka
Depends on:
  Show dependency treegraph
Reported: 2002-06-06 23:12 UTC by carcassi
Modified: 2010-09-23 08:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description carcassi 2002-06-06 23:12:46 UTC
When you to create a bean property with the getter
and setter the generated comment ("Getter for property 
xxx") IMHO is a bad example of documentation. :-)

If you really want to make it generate the comment, I 
really think the user should be asked for a description 
for the property. Something like two extra field at the 
end of the bean property dialog: "description", that is 
used for the first line of the getter and setter (ex. "the 
text displayed in title"), and "constraints", that is used 
for the comment of the parameter for the setter
(ex. "must be a non-null String").

Just a thought, I am sure there are even better 
solutions... but the "Getter for property xxx" is awful! :-
Comment 1 Marek Grummich 2002-07-22 08:27:46 UTC
Target milestone was changed from '3.4' to TBD.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo