For example, FastUtil\'s IntArrayList has a push method that accepts both int (primitive) and Integer (boxed), but Kotlin
IntArrayList
push
int
Integer
Have you tried writing a Java class to serve as an intermediary? That is, write your own java class with the method you want Kotlin to see, then call that method from your Kotlin code.