Deprecate some of JVM flag annotations in favor of capitilized themselves

This commit is contained in:
Denis Zharkov
2015-09-04 14:21:10 +03:00
parent 2b76941733
commit 26f9bd7b63
21 changed files with 68 additions and 68 deletions
@@ -23,14 +23,14 @@ import kotlin.annotation.AnnotationTarget.*
* are immediately made visible to other threads.
*/
target(FIELD)
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class volatile
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class Volatile
/**
* Marks the JVM backing field of the annotated property as `transient`, meaning that it is not
* part of the default serialized form of the object.
*/
target(FIELD)
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class transient
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class Transient
/**
* Marks the JVM method generated from the annotated function as `strictfp`, meaning that the precision
@@ -38,7 +38,7 @@ public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = tru
* achieve better portability.
*/
target(FUNCTION, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER, CLASSIFIER)
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class strictfp
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class Strictfp
/**
* Marks the JVM method generated from the annotated function as `synchronized`, meaning that the method
@@ -46,7 +46,7 @@ public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = tru
* for static methods, the class) on which the method is defined.
*/
target(FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER)
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class synchronized
public annotation(retention = AnnotationRetention.SOURCE, mustBeDocumented = true) class Synchronized
/**
* Marks the JVM method generated from the annotated function as `native`, meaning that it's not implemented