aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/translators/descriptors
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-01-20 10:41:48 +0100
committerGitHub <noreply@github.com>2021-01-20 10:41:48 +0100
commit1f592a7ec2786e0a0b77d224d1414ef3042caae4 (patch)
tree71d2ec07325d505d2c1b78a71720ddc825b2b87c /plugins/base/src/main/kotlin/translators/descriptors
parent93520158b4be59f98015d07e8fecaa7e5a49fd99 (diff)
downloaddokka-1f592a7ec2786e0a0b77d224d1414ef3042caae4.tar.gz
dokka-1f592a7ec2786e0a0b77d224d1414ef3042caae4.tar.bz2
dokka-1f592a7ec2786e0a0b77d224d1414ef3042caae4.zip
Annotations for parameters (#1704)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/descriptors')
-rw-r--r--plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
index 1ac519a0..18231601 100644
--- a/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
+++ b/plugins/base/src/main/kotlin/translators/descriptors/DefaultDescriptorToDocumentableTranslator.kt
@@ -777,7 +777,10 @@ private class DokkaDescriptorVisitor(
null,
upperBounds.map { it.toBound() },
setOf(sourceSet),
- extra = PropertyContainer.withAll(additionalExtras().toSourceSetDependent().toAdditionalModifiers())
+ extra = PropertyContainer.withAll(
+ additionalExtras().toSourceSetDependent().toAdditionalModifiers(),
+ getAnnotations().toSourceSetDependent().toAnnotations()
+ )
)
private suspend fun org.jetbrains.kotlin.descriptors.annotations.Annotations.getPresentableName(): String? =