aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java/src/main/kotlin/signatures
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-25 15:51:51 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-25 15:58:37 +0100
commit40c3650b2e51d06a10ba204c79ca5c94d390a513 (patch)
treec834da7008e3dfdb5cea43a5765ccf80f5774c65 /plugins/kotlin-as-java/src/main/kotlin/signatures
parentaf9d525d75a517a5a7cb39d30fd4b2c9e8b93837 (diff)
downloaddokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.tar.gz
dokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.tar.bz2
dokka-40c3650b2e51d06a10ba204c79ca5c94d390a513.zip
Introduce VoidObject and JavaObject
Diffstat (limited to 'plugins/kotlin-as-java/src/main/kotlin/signatures')
-rw-r--r--plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt6
1 files changed, 3 insertions, 3 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 0ec7d0af..6a571660 100644
--- a/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt
+++ b/plugins/kotlin-as-java/src/main/kotlin/signatures/JavaSignatureProvider.kt
@@ -3,11 +3,9 @@ package org.jetbrains.dokka.kotlinAsJava.signatures
import org.jetbrains.dokka.base.signatures.SignatureProvider
import org.jetbrains.dokka.base.transformers.pages.comments.CommentsToContentConverter
import org.jetbrains.dokka.base.translators.documentables.PageContentBuilder
+import org.jetbrains.dokka.links.DRI
import org.jetbrains.dokka.links.sureClassNames
import org.jetbrains.dokka.model.*
-import org.jetbrains.dokka.model.DAnnotation
-import org.jetbrains.dokka.model.DEnum
-import org.jetbrains.dokka.model.DFunction
import org.jetbrains.dokka.pages.ContentKind
import org.jetbrains.dokka.pages.ContentNode
import org.jetbrains.dokka.pages.TextStyle
@@ -109,6 +107,8 @@ class JavaSignatureProvider(ctcc: CommentsToContentConverter, logger: DokkaLogge
is Nullable -> signatureForProjection(p.inner)
+ is JavaObject -> link("Object", DRI("java.lang", "Object"))
+ is Void -> text("void")
is PrimitiveJavaType -> text(p.name)
}
} \ No newline at end of file