I have an interface in kotlin, which looks something like this
interface BaseDao<in M : Model> {
...
@Delete
fun delete(models: Collection<M>)
...
}
Now when I look at the generated code I see something like this:
public interface BaseDao {
...
@Delete
void delete(@NotNull Collection var1);
...
}
Is there a way to tell kotlin that I want the type of the collection explicitly set?