kotlin.jvm.JvmSuppressWildcards
JvmSuppressWildcards
@Target([AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.TYPE]) annotation class JvmSuppressWildcards
Platform and version requirements: JVM
Instructs compiler to generate or omit wildcards for type arguments corresponding to parameters with declaration-site variance, for example such as Collection<out T>
has.
If the innermost applied @JvmSuppressWildcards
has suppress=true
, the type is generated without wildcards. If the innermost applied @JvmSuppressWi