So my goal is use in Kotlin similar construction to Java PECS:
List<? extends MyMarkerInterface> => MutableList<out MyMarkerInterface>
When Jackson set after compiling data to this variable(list) it's ok. When I try to add item from Kotlin code , Kotlin says that I can add only Nothing (type) items.
So how do I put inside List child of MyMarkerInterface in Kotlin?
Remove out at all, and it works fine but without "? extends" when decompile code from bytecode after Kotlin