I have the following declaration ```data class XDa...
# announcements
n
I have the following declaration
Copy code
data class XData(val one: Int)
abstract class MyBinder : Binding<Any, List<XData>>
Here is the bytecode genrated for it: // declaration: MyBinder implements Binding<java.lang.Object, java.util.List<? extends XData>> is there any way to enforce the type to be
Binding<java.lang.Object, java.util.List<XData>>
instead of
Binding<java.lang.Object, java.util.List<? extends XData>>
d
The
@JvmSuppressWildcards
annotation does what you want.
n
Thank you. It's exactly what I needed.