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
20 lines
380 B
Kotlin
Vendored
20 lines
380 B
Kotlin
Vendored
// FIR_BLOCKED: KT-59287
|
|
// !JVM_DEFAULT_MODE: all
|
|
// EXPECTED_ERROR: (kotlin:16:5) modifier private not allowed here
|
|
|
|
interface Foo {
|
|
fun foo() {
|
|
System.out.println("foo")
|
|
}
|
|
|
|
fun foo2(a: Int) {
|
|
System.out.println("foo2")
|
|
}
|
|
|
|
fun bar()
|
|
|
|
private fun privateMethodWithDefault() {
|
|
System.out.println("privateMethodWithDefault")
|
|
}
|
|
}
|