@Override
public boolean isEquivalentTo(PsiElement another) {
+ if (another instanceof GrLightVariable) {
+ return myDeclarations.equals(((GrLightVariable)another).getDeclarations());
+ }
return myDeclarations.contains(another) || super.isEquivalentTo(another);
}