In addition to declarations, methods in OOP languages also contribute to the amount of boilerplate.
In addition to statements that make declarations, methods in object-oriented programming languages also increase the amount of generated code.