aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/KotlinLanguageService.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 15:29:41 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:24 +0100
commit617401c6742f8c0f7ebe6e3d9839993441761987 (patch)
tree46fd115d936385ce1515c50b8cf0a3c81771f84f /src/Kotlin/KotlinLanguageService.kt
parent36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc (diff)
downloaddokka-617401c6742f8c0f7ebe6e3d9839993441761987.tar.gz
dokka-617401c6742f8c0f7ebe6e3d9839993441761987.tar.bz2
dokka-617401c6742f8c0f7ebe6e3d9839993441761987.zip
don't render annotations on types in summary view
Diffstat (limited to 'src/Kotlin/KotlinLanguageService.kt')
-rw-r--r--src/Kotlin/KotlinLanguageService.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt
index 77cad657..3c4b974f 100644
--- a/src/Kotlin/KotlinLanguageService.kt
+++ b/src/Kotlin/KotlinLanguageService.kt
@@ -167,7 +167,9 @@ class KotlinLanguageService : LanguageService {
renderType(typeArguments.last(), renderMode)
return
}
- renderAnnotationsForNode(node)
+ if (renderMode == RenderMode.FULL) {
+ renderAnnotationsForNode(node)
+ }
renderModifiersForNode(node, renderMode, true)
renderLinked(node) { identifier(it.name, IdentifierKind.TypeName) }
if (typeArguments.any()) {