import java.util.List;
import java.util.Map;
public class RenameGroovyPropertyProcessor extends RenameJavaVariableProcessor {
@NotNull
@Override
<BUG>public Collection<PsiReference> findReferences(final PsiElement element) {
ArrayList<PsiReference> refs = new ArrayList<PsiReference>();
if (element instanceof GrField) {</BUG>
GrField field = (GrField)element;
PsiMethod setter = GroovyPropertyUtils.findSetterForField(field);

import java.util.List;
import java.util.Map;
public class RenameGroovyPropertyProcessor extends RenameJavaVariableProcessor {
@NotNull
@Override
public Collection<PsiReference> findReferences(final PsiElement element) {
if (element instanceof GrField) {
ArrayList<PsiReference> refs = new ArrayList<PsiReference>();
GrField field = (GrField)element;
PsiMethod setter = GroovyPropertyUtils.findSetterForField(field);
