aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
}