I have the following classes in Java:
public class Parent<T>{
public class Inner {
private T item;
//...
}
//...
}
public class Child<T> extends Parent<T> {
//...
}
I now want to use this in the following way in Kotlin:
fun handle(test: Child<Something>.Inner) {
// Error: Unresolved Reverence: Inner
}
If I do the same thing in Java, it works:
public void handle(Child<Something>.Inner test) {
//..
}
How can I do this in Kotlin?