diff --git a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/RenameWrongRefFix.java b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/RenameWrongRefFix.java index 1d0d44cd300f..7ce328b63199 100644 --- a/java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/RenameWrongRefFix.java +++ b/java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/RenameWrongRefFix.java @@ -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();