Project: JDT
Bug 85415 InvocationTargetException when renaming annotation attribute
Reported: 2005-02-16 09:50:19 | Status: verified fixed

20050216 @Annot1(value="1") public class B<T> { } @interface Annot1 { String value(); } org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: Search for method declaration did not find original element at org.eclipse.jface.util.Assert.isTrue(Assert.java:180) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getAllRippleMethods(RippleMethodFinder2.java:136) at org.eclipse.jdt.internal.corext.refactoring.rename.RippleMethodFinder2.getRelatedMethods(RippleMethodFinder2.java:123) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.initializeMethodsToRename(RenameMethodProcessor.java:162) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameMethodProcessor.checkFinalConditions(RenameMethodProcessor.java:258) at org.eclipse.jdt.internal.corext.refactoring.rename.RenameVirtualMethodProcessor.checkFinalConditions(RenameVirtualMethodProcessor.java:91) at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:165) at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:84) at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:114) at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:188) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702) at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:86) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java