aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-16 12:48:07 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-16 12:48:07 +0100
commit6c93cc98e52c2096ebd8197a3f2d1201f0a5bedc (patch)
tree25c8091ea0b5747c3f0d393d6eeffb087d34ca45 /src
parent555f9cf07ada20ffc947dd57ebb3cdcb6a020ab4 (diff)
downloaddokka-6c93cc98e52c2096ebd8197a3f2d1201f0a5bedc.tar.gz
dokka-6c93cc98e52c2096ebd8197a3f2d1201f0a5bedc.tar.bz2
dokka-6c93cc98e52c2096ebd8197a3f2d1201f0a5bedc.zip
represent type arguments as nodes of type Type, not TypeParameter
Diffstat (limited to 'src')
-rw-r--r--src/Java/JavaDocumentationBuilder.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt
index c30e6f06..9770fc95 100644
--- a/src/Java/JavaDocumentationBuilder.kt
+++ b/src/Java/JavaDocumentationBuilder.kt
@@ -145,10 +145,10 @@ public class JavaDocumentationBuilder() {
val name = mapTypeName(this)
val node = DocumentationNode(name, Content.Empty, kind)
if (this is PsiClassType) {
- node.appendDetails(getParameters()) { build(Kind.TypeParameter) }
+ node.appendDetails(getParameters()) { build(Kind.Type) }
}
- if (this is PsiArrayType) {
- node.append(getComponentType().build(Kind.TypeParameter), DocumentationReference.Kind.Detail)
+ if (this is PsiArrayType && this !is PsiEllipsisType) {
+ node.append(getComponentType().build(Kind.Type), DocumentationReference.Kind.Detail)
}
return node
}