findDocComment¶
fun findDocComment(declaration: KtDeclaration): KDoc?
Returns the KDoc comment attached to the given declaration, or null if it has none (or the declaration belongs to a compiled file, where doc comments are not available).
fun findDocComment(declaration: KtDeclaration): KDoc?
Returns the KDoc comment attached to the given declaration, or null if it has none (or the declaration belongs to a compiled file, where doc comments are not available).