Project: JDT
Bug 54457 Rename Refactoring: Wrong warning: another name shadows [refactoring]
Reported: 2004-03-11 09:03:11 | Status: resolved fixed

20040311 Selfhosting workspace with extra plugin org.eclipse.jdt.rewrite (from SNZ rep) Rename NewASTRewrite.createCopyPlaceholder Afor all references an error is created: 'Another name shadows access to the renamed element' Thsi makes no sense here: There is only one createCopyPlaceholder in the class and also the new name is not used. What could be the problem is that I have two projects with class NewASTRewrite. The two projects are unrelated, however.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/RenameVirtualMethodInClass/test38/in/A.java org.eclipse.jdt.ui.tests.refactoring/resources/RenameVirtualMethodInClass/test38/out/A.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenamePrivateMethodTests.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RenameVirtualMethodInClassTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder.java