Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Not finding method references with generics(Not finding method references with generics)
Not finding method references with generics [message #834964] Mon, 02 April 2012 16:11 Go to next message
Narayanan Anantharaman is currently offline Narayanan Anantharaman
Messages: 1
Registered: April 2012
Junior Member
When I search for references of an method in an interface, not getting the results as expected. Below is the sample test code, when references for InterfaceI.addListener is searched, nothing comes up. Tested using Indigo Release, Build id: 20110615-0604

InterfaceI.java
public interface InterfaceI<K, V> {
void addListener();
}

ClassA.java
public class ClassA<K, V, B> implements InterfaceI<K, V> {
@Override
public void addListener() {
}
}

ClassB.java
public class ClassB extends ClassA<String, String, String> {
public void doSomething() {
addListener();
}
}
Re: Not finding method references with generics [message #835419 is a reply to message #834964] Tue, 03 April 2012 07:21 Go to previous messageGo to next message
Alex Dreadd is currently offline Alex Dreadd
Messages: 8
Registered: January 2012
Junior Member
How are you "search[ing] for references"?
Re: Not finding method references with generics [message #835455 is a reply to message #835419] Tue, 03 April 2012 08:37 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
This is a bug being tracked by https://bugs.eclipse.org/bugs/show_bug.cgi?id=363989. Please add your case details to that bug.
Re: Not finding method references with generics [message #835474 is a reply to message #835455] Tue, 03 April 2012 09:09 Go to previous message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
Satyam Kandula wrote on Tue, 03 April 2012 14:07
This is a bug being tracked by https://bugs.eclipse.org/bugs/show_bug.cgi?id=363989. Please add your case details to that bug.

Sorry the bug is different. Please file a different bug.
Previous Topic:Get method calls of IMethod through eclipse CallHierarchy
Next Topic:How to remove a previously added decorator on a resource
Goto Forum:
  


Current Time: Fri Oct 24 21:37:20 GMT 2014

Powered by FUDForum. Page generated in 0.02497 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software