@Override
            public void visitReferenceExpression(@NotNull PsiReferenceExpression expression) {
              if (expression.isReferenceTo(variable) &&
                  PsiUtil.isAccessedForWriting(expression) &&
                  ControlFlowUtil.isVariableAssignedInLoop(expression, variable)) {
                stopWalking();
                stopped.set(true);
              }
            }
@Override
            public void visitReferenceExpression(@NotNull PsiReferenceExpression expression)