@Override
    public void visitLocalVariable(@NotNull PsiLocalVariable variable) {
      if (variable != myVariable) {
        for (PsiReferenceExpression reference : VariableAccessUtils.getVariableReferences(variable, myParent)) {
          if (!isInside(reference)) {
            addSideEffect();
            return;
          }
        }
      }
      super.visitLocalVariable(variable);
    }
@Override
    public void visitLocalVariable(@NotNull PsiLocalVariable variable)