aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-05-26 00:12:38 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-07-14 23:57:12 +0300
commit9715d6300d6e0082a3e900c7e5cff873b8c294f2 (patch)
treef2243911f9465238bb06592fa838e0cf7e05489c /core
parentc5e1102a8d358dd1fe987c31460508c493cce46c (diff)
downloaddokka-9715d6300d6e0082a3e900c7e5cff873b8c294f2.tar.gz
dokka-9715d6300d6e0082a3e900c7e5cff873b8c294f2.tar.bz2
dokka-9715d6300d6e0082a3e900c7e5cff873b8c294f2.zip
Provide signature for packages
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt b/core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt
index 8b30a6b4..6d5825e9 100644
--- a/core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt
+++ b/core/src/main/kotlin/Java/JavaPsiDocumentationBuilder.kt
@@ -14,6 +14,7 @@ import org.jetbrains.kotlin.psi.KtModifierListOwner
import java.io.File
fun getSignature(element: PsiElement?) = when(element) {
+ is PsiPackage -> element.qualifiedName
is PsiClass -> element.qualifiedName
is PsiField -> element.containingClass!!.qualifiedName + "$" + element.name
is PsiMethod ->