Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » overridden method with generic method not found in search(method with generic paramater not found open call hierarchy and workspace references )
overridden method with generic method not found in search [message #644950] Tue, 14 December 2010 22:59 Go to next message
Brian Chaplin is currently offline Brian ChaplinFriend
Messages: 1
Registered: December 2010
Junior Member
if sub class overrides a super class's method which contains a generic paramter when I search the workspace or invoke open call hierarchy on the sub class's method, the search does not find it

example:

super class

MySuperClass<T> {
protected void myMethod(final T parm) { }
private void test() {
this.myMethod(null);
}
}

MySubClass
@Override
protected void myMethod(Object parm) { }

when I search for callers of MySubClass.myMethod the search does not find
MySuperClass.test

If I remove the generic parameter from the signature, it will be found correctly.

I'm using 3.6
Version: Helios Service Release 1
Build id: 20100917-0705
Re: overridden method with generic method not found in search [message #647471 is a reply to message #644950] Thu, 06 January 2011 15:10 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can ask in eclipse.tools.jdt or open a bug at
https://bugs.eclipse.org/bugs against Eclipse JDT UI

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:How to Integrate a debugger and runtime with eclipse editor
Next Topic:how to set contents for different instances of the same view
Goto Forum:
  


Current Time: Fri Apr 19 19:54:23 GMT 2024

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

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

Back to the top