Bug 80084

Summary: [1.5][search] "find method calls" does not work with generics
Product: [Eclipse Project] JDT Reporter: Ingo R. Homann <ingo.homann>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ingo R. Homann CLA 2004-12-03 04:22:29 EST
Using the code below, searching for method calls of foo (Ctrl+Alt+h) or 
references to foo (Ctrl+Shift+G) will show no hits (although there is no "local 
method is never called"-warning). This error always occurs, when the method has 
a generic parameter.


import java.util.ArrayList;

public class Bug
{

  private static void foo(ArrayList<String> l)
  {
  }

  public static void main(String[] args)
  {
    ArrayList<String> l = new ArrayList<String>();
    foo(l);
  }

}
Comment 1 Dirk Baeumer CLA 2004-12-03 09:53:20 EST
Moving to JDT/Core.
Comment 2 Frederic Fusier CLA 2004-12-03 10:27:24 EST
Support for generic/parameterized type in methods search is not currently
finalized (see bug 75642).
Comment 3 Frederic Fusier CLA 2004-12-04 04:06:52 EST

*** This bug has been marked as a duplicate of 75642 ***