diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-28 14:15:55 +0300 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-10-29 12:34:00 +0100 |
commit | ff77b8e0ad0b5089e940227dfdd94ba21cfc6bd8 (patch) | |
tree | 1710b631ba4d24e685a109ca25b46c718b30cfa6 /javadoc/src/main/kotlin/utils.kt | |
parent | 69623756c6a28d1ba70edcdfd6e02c686ed502e7 (diff) | |
download | dokka-ff77b8e0ad0b5089e940227dfdd94ba21cfc6bd8.tar.gz dokka-ff77b8e0ad0b5089e940227dfdd94ba21cfc6bd8.tar.bz2 dokka-ff77b8e0ad0b5089e940227dfdd94ba21cfc6bd8.zip |
Initial javadoc generation module
Diffstat (limited to 'javadoc/src/main/kotlin/utils.kt')
-rw-r--r-- | javadoc/src/main/kotlin/utils.kt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/javadoc/src/main/kotlin/utils.kt b/javadoc/src/main/kotlin/utils.kt new file mode 100644 index 00000000..661de0c8 --- /dev/null +++ b/javadoc/src/main/kotlin/utils.kt @@ -0,0 +1,10 @@ +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 } + .map { it.name } + .joinToString(".") |