diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-04-29 15:29:16 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-04-29 15:29:16 +0200 |
commit | 3356187ba8742cb987ca2c7bd543e2890bcedf29 (patch) | |
tree | e253b56b5ac180535caf4d77160b33593f9770bf /core/src/main/kotlin/Model | |
parent | ad8af9c7d489026bbab66c1e79e9e2c3ffb694be (diff) | |
download | dokka-3356187ba8742cb987ca2c7bd543e2890bcedf29.tar.gz dokka-3356187ba8742cb987ca2c7bd543e2890bcedf29.tar.bz2 dokka-3356187ba8742cb987ca2c7bd543e2890bcedf29.zip |
don't report type parameters for array classes; don't report qualified names for stdlib types such as java.lang.String
Diffstat (limited to 'core/src/main/kotlin/Model')
-rw-r--r-- | core/src/main/kotlin/Model/DocumentationNode.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Model/DocumentationNode.kt b/core/src/main/kotlin/Model/DocumentationNode.kt index 33543aff..ebfce907 100644 --- a/core/src/main/kotlin/Model/DocumentationNode.kt +++ b/core/src/main/kotlin/Model/DocumentationNode.kt @@ -174,3 +174,5 @@ fun DocumentationNode.qualifiedName(): String { } return path.drop(1).map { it.name }.filter { it.length > 0 }.joinToString(".") } + +fun DocumentationNode.simpleName() = name.substringAfterLast('.') |