Bug 80084 - [1.5][search] "find method calls" does not work with generics
Summary: [1.5][search] "find method calls" does not work with generics
Status: RESOLVED DUPLICATE of bug 75642
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 04:22 EST by Ingo R. Homann CLA
Modified: 2005-01-17 17:54 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***