Community
Participate
Working Groups
I20100824-1210 Search doesn't find reference to a field of a top-level class in an anonymous binary class. Steps: - add the JUnit 4 library to the build path of a Java project - search for references to field "org.junit.runners.ParentRunner.fSorter" => 2 references are found (in sort(Sorter) and sortChild(T)), but there's a third reference in org.junit.runners.ParentRunner.comparator().new Comparator() {...}.compare(T, T)
Satyam, please investigate, thanks
This looks like a duplicate of bug 151389. Thought bug 151389 talks about doubly-nested anonymous, it does happen for all anonymous. The search engine does find the source element, but when it tries to create the appropriate model element, it doesn't know the proper class file to search for.
(In reply to comment #2) > This looks like a duplicate of bug 151389. Yes, this is the same case as bug 212065, which is already marked as dup. *** This bug has been marked as a duplicate of bug 151389 ***