Change JvmName retention to SOURCE
This commit is contained in:
@@ -48,15 +48,16 @@ public annotation class JvmStatic
|
|||||||
* @property name the name of the element.
|
* @property name the name of the element.
|
||||||
*/
|
*/
|
||||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE)
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.SOURCE)
|
||||||
@MustBeDocumented
|
@MustBeDocumented
|
||||||
public annotation class JvmName(public val name: String)
|
public annotation class JvmName(public val name: String)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instructs the Kotlin compiler to generate a multifile class with this file as one o
|
* Instructs the Kotlin compiler to generate a multifile class with top-level functions and properties declared in this file as one of its parts.
|
||||||
|
* Name of the corresponding multifile class is provided by the [JvmName] annotation.
|
||||||
*/
|
*/
|
||||||
@Target(AnnotationTarget.FILE)
|
@Target(AnnotationTarget.FILE)
|
||||||
@Retention(AnnotationRetention.RUNTIME)
|
@Retention(AnnotationRetention.SOURCE)
|
||||||
@MustBeDocumented
|
@MustBeDocumented
|
||||||
public annotation class JvmMultifileClass
|
public annotation class JvmMultifileClass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user