diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-05-10 18:06:35 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-05-10 18:06:35 +0200 |
commit | 39fefdcf4b58dc8a77cb54450a22ba4849ac69f6 (patch) | |
tree | f0d80097df11375483f9a2553de02b0ff5ac2d53 /core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | |
parent | 390a44957a3f311c05bf826962430c308eb818ae (diff) | |
download | dokka-39fefdcf4b58dc8a77cb54450a22ba4849ac69f6.tar.gz dokka-39fefdcf4b58dc8a77cb54450a22ba4849ac69f6.tar.bz2 dokka-39fefdcf4b58dc8a77cb54450a22ba4849ac69f6.zip |
update to kotlin 1.0.3-dev-700; don't use kotlin-for-upsource artifact, use regular kotlin-compiler and kotlin-ide-common instead
Diffstat (limited to 'core/src/main/kotlin/Kotlin/DocumentationBuilder.kt')
-rw-r--r-- | core/src/main/kotlin/Kotlin/DocumentationBuilder.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt index 3ddd3150..827062ba 100644 --- a/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt +++ b/core/src/main/kotlin/Kotlin/DocumentationBuilder.kt @@ -9,7 +9,7 @@ import org.jetbrains.kotlin.descriptors.* import org.jetbrains.kotlin.descriptors.annotations.Annotated import org.jetbrains.kotlin.descriptors.annotations.AnnotationDescriptor import org.jetbrains.kotlin.descriptors.impl.EnumEntrySyntheticClassDescriptor -import org.jetbrains.kotlin.idea.kdoc.KDocFinder +import org.jetbrains.kotlin.idea.kdoc.findKDoc import org.jetbrains.kotlin.kdoc.psi.impl.KDocSection import org.jetbrains.kotlin.lexer.KtTokens import org.jetbrains.kotlin.load.java.structure.impl.JavaClassImpl @@ -687,7 +687,7 @@ fun AnnotationDescriptor.mustBeDocumented(): Boolean { } fun DeclarationDescriptor.isDocumentationSuppressed(): Boolean { - val doc = KDocFinder.findKDoc(this) + val doc = findKDoc() if (doc is KDocSection && doc.findTagByName("suppress") != null) return true return hasSuppressDocTag(sourcePsi()) |