2423b7b62f
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>
36 lines
747 B
Plaintext
Vendored
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() {
|
|
}
|
|
}
|