diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-10 13:52:05 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-09-10 13:52:05 +0200 |
commit | e67ee4136f69ad2c8ef65c4978465f43717517d2 (patch) | |
tree | 14756cd831f540f0efd02e62678b31e7b577d58a /src/Kotlin/DocumentationBuilder.kt | |
parent | 8050cf6b6f7205a44ad0adebeaa19e202607f91d (diff) | |
download | dokka-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.kt | 2 |
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) { |