aboutsummaryrefslogtreecommitdiff
path: root/javadoc/src/main/kotlin/utils.kt
blob: 661de0c8eec2a0ac4c3e1287ced691d6bbc6f6a1 (plain)
1
2
3
4
5
6
7
8
9
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(".")