From 8036ed4a881cb216b984f7e62614d8685a5d59a6 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 9 Feb 2015 14:04:19 +0100 Subject: fix dokka compilation after API change --- src/Kotlin/DocumentationBuilder.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Kotlin') diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt index 1b37dc51..ca19c364 100644 --- a/src/Kotlin/DocumentationBuilder.kt +++ b/src/Kotlin/DocumentationBuilder.kt @@ -18,11 +18,11 @@ import com.intellij.psi.PsiNameIdentifierOwner import com.intellij.psi.PsiElement import org.jetbrains.kotlin.resolve.source.getPsi import org.jetbrains.kotlin.psi.JetParameter -import org.jetbrains.kotlin.kdoc.findKDoc import org.jetbrains.kotlin.kdoc.psi.impl.KDocSection import com.intellij.psi.util.PsiTreeUtil import org.jetbrains.kotlin.kdoc.psi.impl.KDocTag import org.jetbrains.kotlin.idea.kdoc.resolveKDocLink +import org.jetbrains.kotlin.idea.kdoc.KDocFinder public data class DocumentationOptions(val includeNonPublic: Boolean = false, val sourceLinks: List) @@ -41,7 +41,7 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati val packages = hashMapOf() fun parseDocumentation(descriptor: DeclarationDescriptor): Content { - val kdoc = findKDoc(descriptor) + val kdoc = KDocFinder.findKDoc(descriptor) if (kdoc == null) { return Content.Empty } -- cgit