diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-24 15:35:22 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-24 15:35:22 +0300 |
commit | 891cdbbe19580ee2379e3b7cfe269109bf897d84 (patch) | |
tree | 0142193241c3f9700a39313b77188e60af97d083 /src/Languages | |
parent | f822c51af0ca775a260f8aab010c9ccc9be8d52e (diff) | |
download | dokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.tar.gz dokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.tar.bz2 dokka-891cdbbe19580ee2379e3b7cfe269109bf897d84.zip |
Put source position information to node's details section
Diffstat (limited to 'src/Languages')
-rw-r--r-- | src/Languages/JavaLanguageService.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Languages/JavaLanguageService.kt b/src/Languages/JavaLanguageService.kt index 7446b34f..e491d1bd 100644 --- a/src/Languages/JavaLanguageService.kt +++ b/src/Languages/JavaLanguageService.kt @@ -123,9 +123,9 @@ public class JavaLanguageService : LanguageService { val receiver = node.details(Kind.Receiver).singleOrNull() append("(") if (receiver != null) - append((listOf(receiver) + node.details(Kind.Parameter)).map { renderParameter(it) }.join()) + (listOf(receiver) + node.details(Kind.Parameter)).map { renderParameter(it) }.joinTo(this) else - append(node.details(Kind.Parameter).map { renderParameter(it) }.join()) + node.details(Kind.Parameter).map { renderParameter(it) }.joinTo(this) append(")") }.toString() |