Community
Participate
Working Groups
20040128 5pm preview Refernecs to non-visible types don't offer a binding: G.Inner has no binding. In the code, also non-visible references have bindings (We need it to offer a quick fix) (minor) public class E { /** * @see G.Inner */ public void gee() { } } class G { private static class Inner {} }
Created attachment 7635 [details] Possible fix Of course not for tomorrow, but Philippe what do you think about this change?
I missed the CC while attaching the patch...
Re:patch, I would only copy the original into the new problem reference binding. Kent - do you have an opinion on the best way to propagate the original binding ?
Fixed. Now we return a binding also for non-visible references. [jdt-core internal] As proposed by Philippe, we just set the original binding on new problem reference binding. This allow DefaultBindingResolver to retrieve it. Change made in getType(char[][]) method of Scope. Test case to be added...
Test case added in jdt.core.dom.tests.ASTConverterJavadocTest
Verified for 3.0M7