Community
Participate
Working Groups
BETA_JAVA7 branch : (problem also exists in HEAD, but the example below is from BETA_JAVA7 branch) The method org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding, TypeBinding[], Scope, InvocationSite) ends with a return statement of the form: // check presence of unchecked argument conversion a posteriori (15.12.2.6) return methodSubstitute; Edit this statement and bring it to the form return meth| and try ctrl-space in the position marked with | The first proposal is the type MethodBinding and the second proposal is methodSubstitute. The second proposal makes way more sense in the return statement context and its relevance should be boosted enough to propose it ahead of the type.
I'll investigate, time permitting. Though the problem may not be general to return statements, but may be occuring in this specific case.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.