2002542ad2
This commit includes the basic Java stubs generation infrastructure and the corresponding tests. The main entry point is called Kapt4StubGenerator. Calls to it from production code will be added in a separate commit. #KT-51982
28 lines
585 B
Kotlin
Vendored
28 lines
585 B
Kotlin
Vendored
// CORRECT_ERROR_TYPES
|
|
// NO_VALIDATION
|
|
|
|
@file:Suppress("UNRESOLVED_REFERENCE")
|
|
import java.util.Date as MyDate
|
|
import java.util.concurrent.TimeUnit as MyTimeUnit
|
|
import java.util.concurrent.TimeUnit.*
|
|
import java.util.concurrent.TimeUnit.MICROSECONDS as MyMicroseconds
|
|
import kotlin.arrayOf
|
|
import a.b.ABC as MyABC
|
|
import bcd as MyBCD
|
|
|
|
class Test {
|
|
lateinit var date: MyDate
|
|
lateinit var timeUnit: MyTimeUnit
|
|
|
|
lateinit var abc: MyABC
|
|
lateinit var bcd: MyBCD
|
|
|
|
class MyDate {
|
|
lateinit var date2: MyDate
|
|
}
|
|
}
|
|
|
|
class Test2 {
|
|
lateinit var date: MyDate
|
|
}
|