diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-03 20:21:52 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-03 20:21:52 +0100 |
commit | fb25c1eaf41ae314d19d6cda55446a2ab6b63715 (patch) | |
tree | 99cb6e86eb45a7ea4a3f0eeb2f35f200c3117270 /src/Kotlin | |
parent | aa9395aa97a9d738125e21d5ed235b350d637a24 (diff) | |
download | dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.gz dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.bz2 dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.zip |
reduce the number of Kotlinisms in documentation model generated from Java code
Diffstat (limited to 'src/Kotlin')
-rw-r--r-- | src/Kotlin/KotlinLanguageService.kt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index 3c4b974f..d07f4c09 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -12,11 +12,7 @@ class KotlinLanguageService : LanguageService { return content { when (node.kind) { DocumentationNode.Kind.Package -> if (renderMode == RenderMode.FULL) renderPackage(node) - DocumentationNode.Kind.Class, - DocumentationNode.Kind.Interface, - DocumentationNode.Kind.Enum, - DocumentationNode.Kind.AnnotationClass, - DocumentationNode.Kind.Object -> renderClass(node, renderMode) + in DocumentationNode.Kind.classLike -> renderClass(node, renderMode) DocumentationNode.Kind.EnumItem, DocumentationNode.Kind.ExternalClass -> if (renderMode == RenderMode.FULL) identifier(node.name) |