Merge branch 'master' into smartcompletion
[idea/community.git] / plugins / groovy / src / org / jetbrains / plugins / groovy / lang / psi / impl / statements / expressions / GrReferenceExpressionImpl.java
index 67c37505ba77e8b43ddfb6968013c96d0d0d7fae..7ff2441eee21e08925ad7cf56f7347e4db4dff29 100644 (file)
@@ -572,7 +572,7 @@ public class GrReferenceExpressionImpl extends GrReferenceElementImpl implements
     if (element instanceof PsiMethod && GroovyPropertyUtils.isSimplePropertyAccessor((PsiMethod) element)) {
       final PsiElement target = resolve();
       if (element instanceof GrAccessorMethod && getManager().areElementsEquivalent(((GrAccessorMethod)element).getProperty(), target)) {
-        return true;
+        return false;
       }
 
       return getManager().areElementsEquivalent(element, target);