---
layout: docs
title: buildGenericsDeclaration
id: class.Facebook.HackCodegen.CodegenClassish.buildGenericsDeclaration
docid: class.Facebook.HackCodegen.CodegenClassish.buildGenericsDeclaration
permalink: /docs/reference/class.Facebook.HackCodegen.CodegenClassish.buildGenericsDeclaration/
---
# Facebook\\HackCodegen\\CodegenClassish::buildGenericsDeclaration()




``` Hack
protected function buildGenericsDeclaration(): string;
```




## Returns




- ` string `