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>
58 lines
1.2 KiB
Plaintext
Vendored
58 lines
1.2 KiB
Plaintext
Vendored
/**
|
|
* 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
|
|
*
|
|
* // is compiled in compatibility mode
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public abstract interface Foo {
|
|
|
|
public default void foo() {
|
|
}
|
|
|
|
public default void foo2(int a) {
|
|
}
|
|
|
|
public abstract void bar();
|
|
|
|
private void privateMethodWithDefault() {
|
|
}
|
|
|
|
/**
|
|
* synthetic class
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class DefaultImpls {
|
|
|
|
public DefaultImpls() {
|
|
super();
|
|
}
|
|
|
|
@java.lang.Deprecated()
|
|
public static void foo(@org.jetbrains.annotations.NotNull()
|
|
Foo $this) {
|
|
}
|
|
|
|
@java.lang.Deprecated()
|
|
public static void foo2(@org.jetbrains.annotations.NotNull()
|
|
Foo $this, int a) {
|
|
}
|
|
}
|
|
}
|