diff options
author | Błażej Kardyś <bkardys@virtuslab.com> | 2020-06-25 20:41:28 +0200 |
---|---|---|
committer | Paweł Marks <pmarks@virtuslab.com> | 2020-06-26 00:40:47 +0200 |
commit | 0e35a9d3b2a24b50d6016e82e9889d9fdc3dbbf0 (patch) | |
tree | b0ce1d6307aeb8fc4d6117d5421aa4c17bbe66a4 /plugins/kotlin-as-java/src | |
parent | a1c316e829827ddb0e3e288e684ac287e8fd28ff (diff) | |
download | dokka-0e35a9d3b2a24b50d6016e82e9889d9fdc3dbbf0.tar.gz dokka-0e35a9d3b2a24b50d6016e82e9889d9fdc3dbbf0.tar.bz2 dokka-0e35a9d3b2a24b50d6016e82e9889d9fdc3dbbf0.zip |
Adding external url handling
Diffstat (limited to 'plugins/kotlin-as-java/src')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt | 24 |
1 files changed, 14 insertions, 10 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 c6fcb9b0..ca817219 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt @@ -117,16 +117,20 @@ class JavaSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLogge val returnType = f.type signatureForProjection(returnType) text(nbsp.toString()) - link(f.name, f.dri) - list(f.generics, prefix = "<", suffix = ">") { - +buildSignature(it) - } - list(f.parameters, "(", ")") { - annotationsInline(it) - text(it.modifiers()[it]?.toSignatureString() ?: "") - signatureForProjection(it.type) - text(nbsp.toString()) - link(it.name!!, it.dri) + group { + link(f.name, f.dri) + list(f.generics, prefix = "<", suffix = ">") { + +buildSignature(it) + } + text("(") + list(f.parameters) { + annotationsInline(it) + text(it.modifiers()[it]?.toSignatureString() ?: "") + signatureForProjection(it.type) + text(nbsp.toString()) + link(it.name!!, it.dri) + } + text(")") } } |