diff options
author | KrystianUjma <kujma@virtuslab.com> | 2019-05-23 16:26:02 +0200 |
---|---|---|
committer | KrystianUjma <kujma@virtuslab.com> | 2019-05-23 16:26:02 +0200 |
commit | 9d7f9fec41d33a636b19125b582c2aeb24a8b6e5 (patch) | |
tree | d1ecf0f4f34bbf4f1015d48c81f5fa11665d30d2 /core/src/main/kotlin/javadoc | |
parent | fd6c34d92b7409d3aedd9416c7b06f9c48fe2631 (diff) | |
download | dokka-9d7f9fec41d33a636b19125b582c2aeb24a8b6e5.tar.gz dokka-9d7f9fec41d33a636b19125b582c2aeb24a8b6e5.tar.bz2 dokka-9d7f9fec41d33a636b19125b582c2aeb24a8b6e5.zip |
#465 - fix javadoc parameters generation for java classes
Diffstat (limited to 'core/src/main/kotlin/javadoc')
-rw-r--r-- | core/src/main/kotlin/javadoc/docbase.kt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/src/main/kotlin/javadoc/docbase.kt b/core/src/main/kotlin/javadoc/docbase.kt index ace4ae0c..62d0ee26 100644 --- a/core/src/main/kotlin/javadoc/docbase.kt +++ b/core/src/main/kotlin/javadoc/docbase.kt @@ -531,7 +531,11 @@ private fun DocumentationNodeAdapter.collectParamTags(kind: NodeKind, sectionFil + node.content.sections .filter(sectionFilter) - .map { ParamTagAdapter(module, this, it.subjectName ?: "?", true, it.children) } + .map { + ParamTagAdapter(module, this, it.subjectName ?: "?", true, + it.children.filterNot { contentNode -> contentNode is LazyContentBlock } ) - .distinctBy { it.parameterName } - .toTypedArray()
\ No newline at end of file + } + ) + .distinctBy { it.parameterName } + .toTypedArray()
\ No newline at end of file |