Community
Participate
Working Groups
Build Identifier: 20100917-0705 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<Object> extends MySuperClass @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. Reproducible: Always Steps to Reproduce: 1. create 2 Java classes: MySuperClass<T> { protected void myMethod(final T parm) { } private void test() { this.myMethod(null); } } MySubClass<Object> extends MySuperClass @Override protected void myMethod(Object parm) { } 2. search for callers of MySubClass.myMethod via Open Call Hiearchy or References Workspace 3. remove the generic parameter from the signature, it will be found correctly.
This is similar to bug 123836 *** This bug has been marked as a duplicate of bug 123836 ***
Verified for 3.8 M6 using build I20120312-1800