d0f0b9e355
For internal members new names are generated, So, references to them from Java will be broken
16 lines
291 B
Kotlin
Vendored
16 lines
291 B
Kotlin
Vendored
package to
|
|
|
|
import java.io.File
|
|
import java.util.ArrayList
|
|
|
|
|
|
internal class JavaClass {
|
|
fun foo(file: File?, target: MutableList<String>?) {
|
|
val list = ArrayList<String>()
|
|
if (file != null) {
|
|
list.add(file.name)
|
|
}
|
|
target?.addAll(list)
|
|
}
|
|
}
|