Community
Participate
Working Groups
AK (10/9/2001 6:47:34 PM) file "A.java" package p; class B{ private void m(){ } } class A extends B{ void m(){ } } class C extends A{ void m(){ } } 1. programatically create SearchEngine.createHierarchyScope(declaringType); //declaring type is A note: field elements has one entry: File A.java 2. now, programatically create SearchEngine.createHierarchyScope(declaringType); //declaring type is C note: field elements is empty, which i think means that no matches will ever be reported on that scope. does that have sth to do with the fact that A has the same name as A.java? this seems to happen only when ui is up (in my ui-less tests it's all ok)
PRODUCT VERSION: 203
What means 'field elements' in your previous description ?
Please answer my previous question: "What means 'field elements' in your previous description ? "
it means AbstractSearchScope::elements
Adam, do you have more details? I added a test case in our test suite, and it works as expected, but the ui is not involved in these tests. If you could give me steps to reproduce using the ui, it would be great. Also is the type your passing to the hierarchy scope creation coming from a working copy?
Closing. Please re-open if you have more details.