Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/anonymousObjectInEnumSuperConstructor.txt
Alexander Udalov c251eb19a6 Kapt: remove old JVM backend test data (2/2)
In this commit, .ir.txt expectation test data files for the JVM IR
backend are renamed to .txt. This is done as two separate commits so
that Git would recognize that these files were logically moved, not that
the contents of the original .txt files were changed.

 #KT-64680
2024-01-03 19:37:40 +00:00

57 lines
1.2 KiB
Plaintext
Vendored

/**
* public abstract interface Callback : kotlin/Any {
*
* // signature: invoke()Ljava/lang/String;
* public abstract fun invoke(): kotlin/String
*
* // module name: main
* }
*/
@kotlin.Metadata()
public abstract interface Callback {
@org.jetbrains.annotations.NotNull()
public abstract java.lang.String invoke();
}
////////////////////
/**
* public final enum class Foo : kotlin/Enum<Foo> {
*
* // signature: <init>(Ljava/lang/String;ILCallback;)V
* private constructor(callback: Callback)
*
* // field: callback:LCallback;
* // getter: getCallback()LCallback;
* public final val callback: Callback
* public final get
*
* FOO,
*
* // module name: main
*
* // has Enum.entries
* }
*/
@kotlin.Metadata()
public enum Foo {
/*public static final*/ FOO /* = new Foo() */;
@org.jetbrains.annotations.NotNull()
private final Callback callback = null;
Foo(Callback callback) {
}
@org.jetbrains.annotations.NotNull()
public final Callback getCallback() {
return null;
}
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Foo> getEntries() {
return null;
}
}