Deprecate some of JVM flag annotations in favor of capitilized themselves
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user