diff options
author | Szymon Świstun <sswistun@virtuslab.com> | 2020-02-11 15:57:29 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-02-12 13:13:18 +0100 |
commit | af9697cbd2eb1a26c8a07d191ca6360d416a1666 (patch) | |
tree | dcb910792ba09457e7c52b64115d7215a2fa7d9b /plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt | |
parent | 50e711d24b517bc93c37d89f258c9dafaa038ad1 (diff) | |
download | dokka-af9697cbd2eb1a26c8a07d191ca6360d416a1666.tar.gz dokka-af9697cbd2eb1a26c8a07d191ca6360d416a1666.tar.bz2 dokka-af9697cbd2eb1a26c8a07d191ca6360d416a1666.zip |
kotlin-as-java fixed
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt')
-rw-r--r-- | plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt b/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt index 65925fb2..05896d11 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/KotlinAsJavaPageContentBuilder.kt @@ -1,10 +1,7 @@ package org.jetbrains.dokka.kotlinAsJava import org.jetbrains.dokka.links.DRI -import org.jetbrains.dokka.model.Documentable import org.jetbrains.dokka.model.Function -import org.jetbrains.dokka.model.TypeWrapper -import org.jetbrains.dokka.model.doc.DocTag import org.jetbrains.dokka.pages.* import org.jetbrains.dokka.transformers.psi.JavaTypeWrapper import org.jetbrains.dokka.utilities.DokkaLogger @@ -18,10 +15,10 @@ class KotlinAsJavaPageContentBuilder( private val styles: Set<Style> = emptySet(), private val extras: Set<Extra> = emptySet() ) : DefaultPageContentBuilder(dri, platformData, kind, commentsConverter, logger, styles, extras) { - private val contents = mutableListOf<ContentNode>() override fun signature(f: Function) = signature(f) { + // DokkaConsoleLogger.info("KotlinAsJavaSignature") val returnType = f.returnType if (!f.isConstructor) { if (returnType != null && @@ -51,6 +48,13 @@ class KotlinAsJavaPageContentBuilder( text(")") } + override fun group( + dri: Set<DRI>, + platformData: Set<PlatformData>, + kind: Kind, + block: PageContentBuilderFunction + ): ContentGroup = group(dri, platformData, kind, commentsConverter, logger, block) + companion object { fun group( dri: Set<DRI>, |