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 62664 - Add parameter Refactoring needed
Summary: Add parameter Refactoring needed
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 13:42 UTC by Jaroslav Tulach
Modified: 2005-09-05 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2005-08-19 13:42:34 UTC
We need to block add parameter to constructor (if used in META-INF/services or 
in layer as newvalue) and static methods (if used in layers as methodvalue).  
 
Btw. there is an exception: it is possible to add FileObject argument and also 
String argument to factory methods methods used in layer.
Comment 1 Jesse Glick 2005-08-19 22:19:40 UTC
I wouldn't bother. It is much more likely that people would just edit the
method/constructor as text. (You would normally use Add Parameter if you already
had several clients calling the method/constructor - which would not normally
happen if you had a META-INF/services singleton or layer factory method.) Let's
leave it for runtime errors.