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: | Java Hint to assign parameter to (new) field | ||
---|---|---|---|
Product: | java | Reporter: | tnleeuw <tnleeuw> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tnleeuw
2010-02-23 09:21:53 UTC
Hm, such a hint exists for quite a long time and works OK to me - could you please attach a sample class on which it does not work? Thanks. Hi, This hint works when in a constructor, but not in a method: public class ClassA { public void setMyField(String myField) { } } If method 'setMyField()' is specified in an interface, and added to the class definition from the interface, then I start my coding with filling in the interface definition methods. Not with specifying the constructor and parameters. Also missing this feature from eclipse and it is not available even in 7.2. |