elizarov
12/21/2016, 8:44 AMimport java.awt.* but you actually don’t use AWT List in your code, but have import kotlin.collections.List, then IDEA will not optimize this import away, despite the fact that there in an implict import kotlin.collections.* in every Kotlin file.
Frankly, I have not run into naming conflicts like in last 5-10 years (and I was not using AWT), but I was not writing a lot of framework-dependent code, so your mileage may vary.