aboutsummaryrefslogtreecommitdiff
path: root/javadoc/src/main/kotlin/utils.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-03 20:21:52 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-03 20:21:52 +0100
commitfb25c1eaf41ae314d19d6cda55446a2ab6b63715 (patch)
tree99cb6e86eb45a7ea4a3f0eeb2f35f200c3117270 /javadoc/src/main/kotlin/utils.kt
parentaa9395aa97a9d738125e21d5ed235b350d637a24 (diff)
downloaddokka-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 'javadoc/src/main/kotlin/utils.kt')
-rw-r--r--javadoc/src/main/kotlin/utils.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/javadoc/src/main/kotlin/utils.kt b/javadoc/src/main/kotlin/utils.kt
index 661de0c8..96f2d64c 100644
--- a/javadoc/src/main/kotlin/utils.kt
+++ b/javadoc/src/main/kotlin/utils.kt
@@ -2,9 +2,8 @@ package org.jetbrains.dokka.javadoc
import org.jetbrains.dokka.DocumentationNode
import org.jetbrains.dokka.path
-import java.util.*
val DocumentationNode.qualifiedName: String
- get() = this.path.filter { it.kind == DocumentationNode.Kind.Package || it.kind in allClassKinds }
+ get() = this.path.filter { it.kind == DocumentationNode.Kind.Package || it.kind in DocumentationNode.Kind.classLike }
.map { it.name }
.joinToString(".")