Community
Participate
Working Groups
We use IType.resolveType(unqualifiedName) to get the fully qualified names of member types within source types. It is not working for us in the Eclipse V2 0125 stable build. The problem seems to be in org.eclipse.jdt.internal.codeassist.SelectionEngine, where selectType(sourceType, name) is eventually called. It seems that the line at the top of this method which sets the private field qualifiedSelection equal to the incoming unqualified type name causes the search to fail later on in selectFrom(binding). Commenting out the set seems to fix the problem. If I can figure out how, I'll attach the modified source. This is currently blocking several of our components getting up and running on Eclipse V2.
Created attachment 363 [details] modified SelectionEngine.java from 0125 stable build
Created attachment 364 [details] modified SelectionEngine.java from 0125 stable build
David - please investigate asap. We might want to sneak this one into stable 20020212 (no promise).
Created attachment 365 [details] SelectionEngine with the fix
Indeed the problem is the field qualifiedSelection. qualifiedSelection must be set equal to the incoming type name only when type name is qualified. *** This bug has been marked as a duplicate of 7485 ***