From 03bbe875d428a59860d891722747b9f4f637021a Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 23 Nov 2016 23:32:10 +0300 Subject: [PATCH] Fix the links to the language docs from JvmStatic and JvmName annotations. Add a link from JvmField annotation. #KT-14953 Fixed --- .../src/kotlin/jvm/annotations/JvmPlatformAnnotations.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/runtime.jvm/src/kotlin/jvm/annotations/JvmPlatformAnnotations.kt b/core/runtime.jvm/src/kotlin/jvm/annotations/JvmPlatformAnnotations.kt index 9cb3be06a91..6a58ebd1d66 100644 --- a/core/runtime.jvm/src/kotlin/jvm/annotations/JvmPlatformAnnotations.kt +++ b/core/runtime.jvm/src/kotlin/jvm/annotations/JvmPlatformAnnotations.kt @@ -32,7 +32,8 @@ public annotation class JvmOverloads /** * Specifies that a static method or field needs to be generated from this element. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/java-interop.html#static-methods-and-fields) + * + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#static-methods) * for more information. */ @Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER) @@ -42,7 +43,8 @@ public annotation class JvmStatic /** * Specifies the name for the Java class or method which is generated from this element. - * See the [Kotlin language documentation](http://kotlinlang.org/docs/reference/java-interop.html#handling-signature-clashes-with-jvmname) + * + * See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#handling-signature-clashes-with-jvmname) * for more information. * @property name the name of the element. */ @@ -89,6 +91,9 @@ public annotation class Throws(vararg val exceptionClasses: KClass