Project: JDT
Bug 377286 [content assist] method parameter hint tooltip matches wrong parameter
Reported: 2012-04-20 09:18:35 | Status: resolved fixed

I have a method with this signature: <T2, D> void test(ICallback<List<ETypedElement>, T2, D> callback, Shell shell); I write an invocation of this method : "test(callback, shell);". When I invoke the parameter hint on the second parameter (shell), "T2" appears in bold in the parameter hint tooltip. It should be "Shell shell" that is bold.

Files changed in fix:
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/JavaParameterListValidatorTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaParameterListValidator.java