Introduce UnsafeVariance annotation

This commit is contained in:
Denis Zharkov
2015-10-07 10:28:11 +03:00
parent 013b257347
commit e800be18c6
8 changed files with 54 additions and 1 deletions
+4
View File
@@ -1272,6 +1272,10 @@ public object Unit {
/*primary*/ private constructor Unit()
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @kotlin.annotation.Retention(value = AnnotationRetention.SOURCE) @kotlin.annotation.MustBeDocumented() @kotlin.annotation.annotation() public final class UnsafeVariance : kotlin.Annotation {
/*primary*/ public constructor UnsafeVariance()
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) @kotlin.annotation.Retention(value = AnnotationRetention.RUNTIME) @kotlin.annotation.MustBeDocumented() @kotlin.annotation.annotation() private final class crossinline : kotlin.Annotation {
/*primary*/ public constructor crossinline()
}