Project: JDT
Bug 83319 [1.5][search] Search does not find references to statically imported methods
Reported: 2005-01-20 11:54:11 | Status: verified fixed

I20050118-1015 Search does not find references to statically imported methods. It findes all 3 references to fTime, but only one to getTime(): import static p.A.getTime; import static p.A.fTime; public class A { public static int fTime= 1; public static int getTime() { return ++fTime; } } class B { void use() { int t= getTime(); t= fTime; } }

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg03_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg08_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg09_out.java org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testVararg10_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ChangeSignatureTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java