addDeclaration

open override fun addDeclaration(declaration: Declaration)

Adds the specified declaration to this declaration holder. Ideally, the declaration holder should use the addIfNotContains method to consistently add declarations.

Parameters

declaration

the declaration