Community
Participate
Working Groups
While trying to open the declaration on a selected method of an anonymous class, I get following message in the status bar: 'Current text selection doesn't resolve to a Java Element'. Seems to be similar to bug 47177 but for LocalTypeDeclaration instead of MemberTypeDeclaration.
Additional info to help to reproduce the problem (sorry Jerome...): The anonymous class should be edited in a binary file! Test case which shows the problem for me: having imported org.eclipse.jdt.ui as binary project in my workspace and edited OptionsConfigurationBlock class. Looking at getSelectionListener() method and selecting widgetDefaultSelected method of the anonymous class made the error message appeared in status bar...
Rewrote HandleFactory. Need to add regression test.
Added regression test ResolveTests.testMethodDeclarationInAnonymous4()
Verified for 3.0 M6 with build I200312162000