public function compileBuilder(Twig_Compiler $compiler)
 {
     if ($this->isButtonset()) {
         $compiler->write(sprintf('echo %s->buildButtonset()', $this->getVarName()));
         $compiler->indent();
         $compiler->indent();
         $compiler->write("\n");
         $compiler->write('->in(');
         $this->compileSelector($compiler);
         $compiler->raw(')');
         $compiler->write("\n");
         $compiler->write(sprintf("->addOptions(%s)\n", $this->getOptionsVarName()));
     } else {
         parent::compileBuilder($compiler);
     }
 }