Summary: | inconsistent search for method declarations (1GCZZS1) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M1 | ||
Hardware: | All | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Adam Kiezun
2001-10-10 22:58:05 EDT
package p; class A { private void m(){} } class B extends A{ void m(){} } now, if i search programatically - i get 2 results, which is incorrect. if a text pattern is used then i understand i can get more matches than i expect. but i use a IJavaElement pattern. Are you still searching for declarations of B::m ? In this case, if I use the search from IJavaElement, I find 1 match. PRODUCT VERSION: java ui 0.101 Can I close? what happens if i search for declarations of A::m - i expect 1 as well Search ignores method visibity. Please open a new bug if you find this an important issue. Closing this one as the original problem is fixed. |