Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345153 - [call hierarchy] Caller not shown when overriding method with generic type parameter in signature
Summary: [call hierarchy] Caller not shown when overriding method with generic type pa...
Status: CLOSED DUPLICATE of bug 123836
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.8 M6   Edit
Assignee: Satyam Kandula CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 11:00 EDT by Laszlo Kiss CLA
Modified: 2012-02-09 06:31 EST (History)
2 users (show)

See Also:


Attachments
example code (455 bytes, text/x-java)
2011-05-09 11:01 EDT, Laszlo Kiss CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Kiss CLA 2011-05-09 11:00:41 EDT
Build Identifier: 20100917-0705

See attached example code.

Clearly, as the output also shows, B.b(String) is called by A.a(Type), but the caller hierarchy feature fails to pick this up - no callers are shown for B.b(String). I'm assuming that this is due to the fact that the signature of A.b contains the generic type parameter Type, not String, and B.b(String) is thus not identified as overriding A.b(Type).

Reproducible: Always

Steps to Reproduce:
1. Open attached code in Eclipse.
2. View caller hierarchy of method "b" in class "B".
Comment 1 Laszlo Kiss CLA 2011-05-09 11:01:43 EDT
Created attachment 195081 [details]
example code
Comment 2 Satyam Kandula CLA 2011-05-09 23:29:47 EDT

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