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.
Created attachment 121812 [details] Grails project demo this issue Navigate (ALT + click left button) to static members doesn't work (no action) but navigate to non static method works. In the example Grails project class Client (in groovy source packages nav.issue) can't navigate to static members ClientLevel.GOLD and ClientLevel.defaultLevel, but navigates to non static method ClientLevel.defaultLevel2().
Valid issue, thanks for the report! Hopefully I'll get this for 7.3
Navigation for static methods fixed in: web-main #80e18d1bd018
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/80e18d1bd018 User: Martin Janicek <mjanicek@netbeans.org> Log: #215261 - Code Navigate to Static Class Members Failed
Thanks for the changes. I have tested it on 7.3 beta and beta 2 and found that navigate to static method works now. However, navigate to static field (ClientLevel.GOLD) still doesn't work. When I add another static method with a parameter defaultLevel3(defaultLevel) to class ClientLevel, ONLY the static method defaultLevel navigation works (which is the first method), navigate to non-static method defaultLevel2 and static method with parameter defaltLevel3 does NOT work any more. I have cleared NetBeans cache and the project has been re-scanned and it still did not work. The new change to the demo application see new attachment. Please note, navigation of this class (ClientLevel) in NetBeans navigator (view) works. Thanks!
Created attachment 127583 [details] Demo navigation project version 2.