aboutsummaryrefslogtreecommitdiff
path: root/javadoc/src/main/kotlin/utils.kt
blob: 96f2d64c4b9a54e5b18d766a3d1f9a8da386497c (plain)
1
2
3
4
5
6
7
8
9
package org.jetbrains.dokka.javadoc

import org.jetbrains.dokka.DocumentationNode
import org.jetbrains.dokka.path

val DocumentationNode.qualifiedName: String
    get() = this.path.filter { it.kind == DocumentationNode.Kind.Package || it.kind in DocumentationNode.Kind.classLike }
                .map { it.name }
                .joinToString(".")