diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-08-13 16:24:24 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-17 11:55:35 +0200 |
commit | 43450355b04f52d64da5b29cff3f8fca87445f5b (patch) | |
tree | c88b657c860ed1793c1a0b0a267401bc5b03474c /plugins/javadoc/src | |
parent | 785d741790f653d5c260f59c9d8875bbfde2dc07 (diff) | |
download | dokka-43450355b04f52d64da5b29cff3f8fca87445f5b.tar.gz dokka-43450355b04f52d64da5b29cff3f8fca87445f5b.tar.bz2 dokka-43450355b04f52d64da5b29cff3f8fca87445f5b.zip |
Add tests and add projections to javadoc
Diffstat (limited to 'plugins/javadoc/src')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/signatures/JavadocSignatureProvider.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/signatures/JavadocSignatureProvider.kt b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/signatures/JavadocSignatureProvider.kt index 5e655b0d..cda7345a 100644 --- a/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/signatures/JavadocSignatureProvider.kt +++ b/plugins/javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/signatures/JavadocSignatureProvider.kt @@ -72,9 +72,15 @@ class JavadocSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLo val (classes, interfaces) = dris.partition { it.kind == JavaClassKindTypes.CLASS } list(classes, prefix = "extends ", sourceSets = setOf(p)) { link(it.typeConstructor.dri.sureClassNames, it.typeConstructor.dri, sourceSets = setOf(p)) + list(it.typeConstructor.projections, prefix = "<", suffix = ">", sourceSets = setOf(p)) { + signatureForProjection(it) + } } list(interfaces, prefix = " implements ", sourceSets = setOf(p)){ link(it.typeConstructor.dri.sureClassNames, it.typeConstructor.dri, sourceSets = setOf(p)) + list(it.typeConstructor.projections, prefix = "<", suffix = ">", sourceSets = setOf(p)) { + signatureForProjection(it) + } } } } |