code: public void visit(GroovyCodeVisitor visitor) {
          if (visitor instanceof ClassGenerator) {
              ClassGenerator gen = (ClassGenerator) visitor;
              gen.visitBytecodeSequence(this);
              return;
          }
          for (Iterator iterator = instructions.iterator(); iterator.hasNext();) {
              Object part = (Object) iterator.next();
              if (part instanceof ASTNode) {
                  ((ASTNode)part).visit(visitor);
              }
          }
      }
docs: Delegates to the visit method used for this class.
  If the visitor is a ClassGenerator, then
  {@link ClassGenerator#visitBytecodeSequence(BytecodeSequence)}
  is called with this instance. If the visitor is no
  ClassGenerator, then this method will call visit on
  each ASTNode element sorted by this class. If one
  element is a BytecodeInstruction, then it will be skipped
  as it is no ASTNode.
  
  @param visitor the visitor
  @see ClassGenerator