code: private void moveVariableDeclarations(List<Statement> from, List<Statement> to) {
      for (Statement stat : from) {
        DeclarationExpression declExpr = AstUtil.getExpression(stat, DeclarationExpression.class);
        if (declExpr == null) continue;
  
        ((ExpressionStatement) stat).setExpression(
            new BinaryExpression(
                copyLhsVariableExpressions(declExpr),
                Token.newSymbol(Types.ASSIGN, -1, -1),
                declExpr.getRightExpression()));
  
        declExpr.setRightExpression(createDefaultValueInitializer(declExpr));
        to.add(new ExpressionStatement(declExpr));
      }
    }
docs: /*
  Moves variable declarations from one statement list to another. Initializer
  expressions are kept at their former place.