aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-09 14:04:19 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-09 14:04:19 +0100
commit8036ed4a881cb216b984f7e62614d8685a5d59a6 (patch)
treed61234af58e356e7cfdcbc8996ea39afc293043c /src
parent3fe73a9430c1b782c5891fb61dd5565ab7ee9178 (diff)
downloaddokka-8036ed4a881cb216b984f7e62614d8685a5d59a6.tar.gz
dokka-8036ed4a881cb216b984f7e62614d8685a5d59a6.tar.bz2
dokka-8036ed4a881cb216b984f7e62614d8685a5d59a6.zip
fix dokka compilation after API change
Diffstat (limited to 'src')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt4
1 files changed, 2 insertions, 2 deletions
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<SourceLinkDefinition>)
@@ -41,7 +41,7 @@ class DocumentationBuilder(val session: ResolveSession, val options: Documentati
val packages = hashMapOf<FqName, DocumentationNode>()
fun parseDocumentation(descriptor: DeclarationDescriptor): Content {
- val kdoc = findKDoc(descriptor)
+ val kdoc = KDocFinder.findKDoc(descriptor)
if (kdoc == null) {
return Content.Empty
}