Support @SinceKotlin annotation for type aliases.

This commit is contained in:
Dmitry Petrov
2016-10-12 12:32:23 +03:00
parent 8d634f6003
commit e7ca00d91b
15 changed files with 208 additions and 14 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ public annotation class UnsafeVariance
* @property version the version in the following formats: `<major>.<minor>` or `<major>.<minor>.<patch>`, where major, minor and patch
* are non-negative integer numbers without leading zeros.
*/
@Target(CLASS, PROPERTY, CONSTRUCTOR, FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER)
@Target(CLASS, PROPERTY, CONSTRUCTOR, FUNCTION, PROPERTY_GETTER, PROPERTY_SETTER, TYPEALIAS)
@Retention(AnnotationRetention.BINARY)
@MustBeDocumented
public annotation class SinceKotlin(val version: String)