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.
Product Version = NetBeans IDE Dev (Build 201109202329) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) Client VM 21.0-b17 Starting with: PropertyChangeListener listener = new PropertyChangeListener() { @Override public void propertyChange(final PropertyChangeEvent evt) { if (Platform.isFxApplicationThread()) swing2FxPropertyChange(evt); else { Platform.runLater(new Runnable() { @Override public void run() { swing2FxP(evt) } }); } } private void swing2FxPropertyChange(PropertyChangeEvent evt) { // do something useful } }; Cursor is after "swing2FxP" in the run() method... ctrl-apce to invoke code completion. Result is: swing2FxPropertyChangeevt)(; .. see how parenthesis are reversed and the parameter "evt" comes before them.
It is not related to inner classes Easiest steps to reproduce: invoke CC at | and select charAt (note, that there must be omitted semicolon at the end of the line) "".cha|(1)
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/054bc586b422
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/054bc586b422 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #202462: Bad method invocation completion in anonymous inner class - fixed.