public function appendToBuilder()

in src/CodegenMethodish.hack [79:93]


  public function appendToBuilder(HackBuilder $builder): HackBuilder {
    $id = '';
    if ($this->isManualBody()) {
      invariant($this->containingClass, 'The method should belong to a class');
      $id = $this->containingClass->getName().'::';
    }
    $func_declaration = $this->getFunctionDeclaration();

    return $this->appendToBuilderBase(
      $builder,
      $func_declaration,
      $this->isAbstract,
      $id,
    );
  }