Annotation rename: target --> @Target

This commit is contained in:
Mikhail Glukhikh
2015-09-07 11:25:53 +03:00
parent 6c903a607c
commit 8f7b29f80a
127 changed files with 228 additions and 228 deletions
@@ -34,7 +34,7 @@ package kotlin.jvm
* MyList<Int>().add(null) // Error
* MyList<Int?>().add(null) // Ok
*/
target(AnnotationTarget.CLASSIFIER)
@Target(AnnotationTarget.CLASSIFIER)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
public annotation class PurelyImplements(public val value: String)
@@ -16,6 +16,6 @@
package kotlin.jvm.internal
target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
@Retention(AnnotationRetention.RUNTIME)
public annotation class Intrinsic(val value: String)