Skip to main content



      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 12:11 Go to next message
Eclipse UserFriend
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 03:21 Go to previous messageGo to next message
Eclipse UserFriend
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 04:37 Go to previous messageGo to next message
Eclipse UserFriend
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 05:09 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 19:02:37 EDT 2025

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

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

Back to the top