aboutsummaryrefslogtreecommitdiff
path: root/src/Kotlin/DocumentationBuilder.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-09-10 13:52:05 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-09-10 13:52:05 +0200
commite67ee4136f69ad2c8ef65c4978465f43717517d2 (patch)
tree14756cd831f540f0efd02e62678b31e7b577d58a /src/Kotlin/DocumentationBuilder.kt
parent8050cf6b6f7205a44ad0adebeaa19e202607f91d (diff)
downloaddokka-e67ee4136f69ad2c8ef65c4978465f43717517d2.tar.gz
dokka-e67ee4136f69ad2c8ef65c4978465f43717517d2.tar.bz2
dokka-e67ee4136f69ad2c8ef65c4978465f43717517d2.zip
@Deprecated annotation has an uppercase D now
Diffstat (limited to 'src/Kotlin/DocumentationBuilder.kt')
-rw-r--r--src/Kotlin/DocumentationBuilder.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt
index eb603269..4729fbab 100644
--- a/src/Kotlin/DocumentationBuilder.kt
+++ b/src/Kotlin/DocumentationBuilder.kt
@@ -126,7 +126,7 @@ class DocumentationBuilder(val resolutionFacade: ResolutionFacade,
}
fun DeclarationDescriptor.isDeprecated(): Boolean = getAnnotations().any {
- DescriptorUtils.getFqName(it.getType().getConstructor().getDeclarationDescriptor()!!).asString() == "kotlin.deprecated"
+ DescriptorUtils.getFqName(it.getType().getConstructor().getDeclarationDescriptor()!!).asString() == "kotlin.Deprecated"
} || (this is ConstructorDescriptor && getContainingDeclaration().isDeprecated())
fun DeclarationDescriptor.signature(): String = when(this) {