@Override
  protected boolean check(PsiVariable var, ResolveState state) {
    String name = var.getName();
    return name != null && name.equals(myVariable.getName()) && !var.equals(myVariable);
  }
@Override
  protected boolean check(PsiVariable var, ResolveState state)