aboutsummaryrefslogtreecommitdiff
path: root/src/Java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java')
-rw-r--r--src/Java/JavaDocumentationBuilder.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt
index 9d8c85a9..c30e6f06 100644
--- a/src/Java/JavaDocumentationBuilder.kt
+++ b/src/Java/JavaDocumentationBuilder.kt
@@ -147,6 +147,9 @@ public class JavaDocumentationBuilder() {
if (this is PsiClassType) {
node.appendDetails(getParameters()) { build(Kind.TypeParameter) }
}
+ if (this is PsiArrayType) {
+ node.append(getComponentType().build(Kind.TypeParameter), DocumentationReference.Kind.Detail)
+ }
return node
}
@@ -155,7 +158,7 @@ public class JavaDocumentationBuilder() {
is PsiPrimitiveType -> psiType.getCanonicalText().capitalize()
is PsiClassType -> psiType.getClassName()
is PsiEllipsisType -> mapTypeName(psiType.getComponentType())
- is PsiArrayType -> "Array<${mapTypeName(psiType.getComponentType())}>"
+ is PsiArrayType -> "Array"
else -> psiType.getCanonicalText()
}
}