I have some generated java code that I need to use from Kotlin, but this generated code does some weird stuff with generics. I made an example
Copy code
public class Sample<T extends Sample> {
public static void main(String[] args) {
// How to do instantiate this in Kotlin ????
Sample<Sample> sampleSample = new Sample<>();
}
}