diff options
Diffstat (limited to 'src/Java/JavaDocumentationBuilder.kt')
-rw-r--r-- | src/Java/JavaDocumentationBuilder.kt | 4 |
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 } |