kotlin.jvm.JvmSuppressWildcards.<init>
<init>
JvmSuppressWildcards(suppress: Boolean = true)
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 @JvmSuppressWildcards
has suppress=false
, the type is generated with wildcards.