rename invalid method: prepend renaming ref to preserve old name (IDEA-89045)

This commit is contained in:
anna
2012-07-23 17:44:19 +02:00
parent 2334f2b88f
commit 18da24fa62
@@ -176,6 +176,7 @@ public class RenameWrongRefFix implements IntentionAction {
}
}
items.add(LookupElementBuilder.create(myRefExpr.getReferenceName()));
MyScopeProcessor processor = new MyScopeProcessor(myRefExpr);
myRefExpr.processVariants(processor);
PsiElement[] variants = processor.getVariants();