private static void genForPart(
     StringBuilder builder, GroovyPsiElement part, final Generator visitor) {
   part.accept(visitor);
   for (String statement : visitor.getContext().myStatements) {
     builder.append(statement).append(", ");
   }
   builder.append(visitor.getBuilder());
 }
 @Override
 public void visitVariable(GrVariable variable) {
   super.visitVariable(
       variable); // To change body of overridden methods use File | Settings | File Templates.
 }