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.
Summary: | Provide a method to create constructors | ||
---|---|---|---|
Product: | java | Reporter: | Andrei Badea <abadea> |
Component: | Source | Assignee: | Pavel Flaska <pflaska> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Andrei Badea
2006-11-06 12:20:44 UTC
Already fixed. revision 1.4 date: 2006/11/03 10:51:42; author: pflaska; state: Exp; lines: +18 -0 Added method for Constructor creation. Bothering for users to provide <init> name and null return type. ConstructorTest rewritten to call and test this method. Correct API usage used now in Constructor test. (Visitor removed.) Probably not that important, but it would be nice and consistent with TreeMaker.Method() to also have a TreeMaker.Constructor() method taking the body text as a string. Good point, I'll add such a method. Thanks. Then I hope you won't mind that I'm reopening it. I have already checked-in the change, I ommited to write down the log. /cvs/java/source/src/org/netbeans/api/java/source/TreeMaker.java,v <-- TreeMaker.java new revision: 1.5; previous revision: 1.4 done |