Files
strangepleasures 2423b7b62f [KAPT4] KT-51982 Implement generation of @Metadata annotations in Java stubs
Also adds rendering of @Metadata annotations in Kapt3 and Kapt4 tests
(currently disabled for a few tests).

Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
2023-08-17 21:43:54 +00:00

36 lines
747 B
Plaintext
Vendored

/**
* // requires compiler version 1.4.0 (level=ERROR)
* public abstract interface Foo : kotlin/Any {
*
* // signature: bar()V
* public abstract fun bar(): kotlin/Unit
*
* // signature: foo()V
* public open fun foo(): kotlin/Unit
*
* // signature: foo2(I)V
* public open fun foo2(a: kotlin/Int): kotlin/Unit
*
* // signature: privateMethodWithDefault()V
* private final fun privateMethodWithDefault(): kotlin/Unit
*
* // module name: main
*
* // has method bodies in interface
* }
*/
@kotlin.Metadata()
public abstract interface Foo {
public default void foo() {
}
public default void foo2(int a) {
}
public abstract void bar();
private void privateMethodWithDefault() {
}
}