aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-13 18:05:16 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-13 18:05:16 +0100
commit95e3e32c181429df73cfbf03958dfe4e30d6001d (patch)
tree2595245a6458305dfc961d1277e377b7b33ca968 /src/Kotlin/DocumentationBuilder.kt
parentce29c52ff50c592b724bb1ef1b06d3625679ebfa (diff)
downloaddokka-95e3e32c181429df73cfbf03958dfe4e30d6001d.tar.gz
dokka-95e3e32c181429df73cfbf03958dfe4e30d6001d.tar.bz2
dokka-95e3e32c181429df73cfbf03958dfe4e30d6001d.zip
distinguish Kotlin inner classes
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index 04b707af..1ad1e9e8 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -267,6 +267,9 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati
else -> Kind.Class
}
val node = DocumentationNode(this, kind)
+ if (isInner()) {
+ node.append(DocumentationNode("inner", Content.Empty, Kind.Modifier), DocumentationReference.Kind.Detail)
+ }
node.appendSupertypes(this)
if (getKind() != ClassKind.OBJECT && getKind() != ClassKind.ENUM_ENTRY) {
node.appendChildren(getTypeConstructor().getParameters(), DocumentationReference.Kind.Detail)