Project: JDT
Bug 95619 [5.0][content assist] Function parameter assist does not work with some parameterized types
Reported: 2005-05-17 14:05:57 | Status: verified fixed

If I have a function like private int fn(HashMap <String,HashMap<String,Integer[]>> map, int p1, float p2) { } then when the parameter assist pops up when I call fn(), it interprets the commas in the parameterized type as commas that separate parameters, so the following are highlighted (bolded), in order, as if they are parameters: HashMap <String HashMap<String Integer[]>> map int p1 float p2 What should happen is that angle brackets should hierarchically "escape" comma interpretation.

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