Make JvmPackageName a common internal annotation
This commit is contained in:
@@ -139,4 +139,12 @@ public expect annotation class Strictfp()
|
||||
@Target(FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER)
|
||||
@MustBeDocumented
|
||||
@OptionalExpectation
|
||||
public expect annotation class Synchronized()
|
||||
public expect annotation class Synchronized()
|
||||
|
||||
|
||||
@Target(AnnotationTarget.FILE)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
@SinceKotlin("1.2")
|
||||
@OptionalExpectation
|
||||
internal expect annotation class JvmPackageName(val name: String)
|
||||
@@ -21,6 +21,11 @@ internal annotation class JvmName(public val name: String)
|
||||
@MustBeDocumented
|
||||
internal annotation class JvmMultifileClass
|
||||
|
||||
@Target(AnnotationTarget.FILE)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
internal annotation class JvmPackageName(val name: String)
|
||||
|
||||
@Target(AnnotationTarget.FIELD)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
|
||||
@@ -61,7 +61,7 @@ public actual annotation class JvmMultifileClass
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
@SinceKotlin("1.2")
|
||||
internal annotation class JvmPackageName(val name: String)
|
||||
internal actual annotation class JvmPackageName(actual val name: String)
|
||||
|
||||
/**
|
||||
* Sets `ACC_SYNTHETIC` flag on the annotated target in the Java bytecode.
|
||||
|
||||
Reference in New Issue
Block a user