aboutsummaryrefslogtreecommitdiff
path: root/src/Java/JavaDocumentationBuilder.kt
diff options
context:
space:
mode:
authorDenis Zharkov <denis.zharkov@jetbrains.com>2015-07-09 12:21:49 +0300
committerDenis Zharkov <denis.zharkov@jetbrains.com>2015-07-09 12:21:49 +0300
commit2f3bd214b78c99d06e4dac9e7ff474fd8f0d7ec5 (patch)
treefa09c8bb187a46a0a1eacd2d722ab6209935e24e /src/Java/JavaDocumentationBuilder.kt
parent3921ac60ee89bbd02444f85e8b8b52c7f77c6e27 (diff)
downloaddokka-2f3bd214b78c99d06e4dac9e7ff474fd8f0d7ec5.tar.gz
dokka-2f3bd214b78c99d06e4dac9e7ff474fd8f0d7ec5.tar.bz2
dokka-2f3bd214b78c99d06e4dac9e7ff474fd8f0d7ec5.zip
Fix project after types enhancement from annotations
Diffstat (limited to 'src/Java/JavaDocumentationBuilder.kt')
-rw-r--r--src/Java/JavaDocumentationBuilder.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt
index 466ba304..fdd385fb 100644
--- a/src/Java/JavaDocumentationBuilder.kt
+++ b/src/Java/JavaDocumentationBuilder.kt
@@ -189,9 +189,9 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions,
private fun getSignature(element: PsiElement?) = when(element) {
is PsiClass -> element.getQualifiedName()
- is PsiField -> element.getContainingClass().getQualifiedName() + "#" + element.getName()
+ is PsiField -> element.getContainingClass()!!.getQualifiedName() + "#" + element.getName()
is PsiMethod ->
- element.getContainingClass().getQualifiedName() + "#" + element.getName() + "(" +
+ element.getContainingClass()!!.getQualifiedName() + "#" + element.getName() + "(" +
element.getParameterList().getParameters().map { it.getType().typeSignature() }.join(",") + ")"
else -> null
}