JoaoGoulart
03/29/2019, 12:31 PMpublic abstract class MyClass implements MyInterface {
@Override
public abstract <M extends MyInterface> MyModelType<M> getModelType();
}
How do i implement this in Kolin? i always get this:
override fun <M : MyInterface?> getModelType(): MyModelType<M> {
TODO
}
but this is not what i want, in Java works fine
@Override
public MyModelType<MyClassImpl> getModelType() {
return null;
}
Any ideas on how to do it?ribesg
03/29/2019, 12:41 PM<M extends MyInterface>
and <MyClassImpl>
are not the same thing.