aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-07-22 14:27:55 +0200
committerGitHub <noreply@github.com>2021-07-22 14:27:55 +0200
commitb6dce5370b0c90932127499a903453b199e69c5a (patch)
tree3ab1839f794b574f7a97edbc80eb52b64b4cef67 /plugins/kotlin-as-java
parent4f701027ac0a5de6c52fb6285edf79752c84ad0e (diff)
downloaddokka-b6dce5370b0c90932127499a903453b199e69c5a.tar.gz
dokka-b6dce5370b0c90932127499a903453b199e69c5a.tar.bz2
dokka-b6dce5370b0c90932127499a903453b199e69c5a.zip
Bump kotlin 1.5.21 (#2031)
* bump kotlin to 1.5.21 * Bump binary compatibility plugin * update stdlib submodule * Bump IJ to 202.8194.7
Diffstat (limited to 'plugins/kotlin-as-java')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt b/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt
index f51a9edd..58a3043c 100644
--- a/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt
+++ b/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt
@@ -1,5 +1,6 @@
package org.jetbrains.dokka.kotlinAsJava.signatures
+import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.base.DokkaBase
import org.jetbrains.dokka.base.signatures.JvmSignatureUtils
import org.jetbrains.dokka.base.signatures.SignatureProvider
@@ -137,7 +138,7 @@ class JavaSignatureProvider internal constructor(ctcc: CommentsToContentConverte
text("(")
list(f.parameters) {
annotationsInline(it)
- text(it.modifiers()[it]?.toSignatureString() ?: "")
+ text(it.modifiers()[sourceSet]?.toSignatureString() ?: "")
signatureForProjection(it.type)
text(nbsp.toString())
text(it.name!!)