c251eb19a6
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
415 lines
9.4 KiB
Plaintext
Vendored
415 lines
9.4 KiB
Plaintext
Vendored
/**
|
|
* public final class Test : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // field: foo:LTest$Companion$Example;
|
|
* private final val foo: Test.Companion.Example
|
|
* private final get
|
|
*
|
|
* // companion object: Companion
|
|
*
|
|
* // nested class: Companion
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public final class Test {
|
|
@org.jetbrains.annotations.NotNull()
|
|
private final Test.Companion.Example foo;
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test.Companion Companion = null;
|
|
|
|
public Test() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final companion object Test.Companion : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // nested class: Example
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Companion {
|
|
|
|
private Companion() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final enum class Test.Companion.Example : kotlin/Enum<Test.Companion.Example> {
|
|
*
|
|
* // signature: <init>(Ljava/lang/String;I)V
|
|
* private constructor()
|
|
*
|
|
* FOO,
|
|
*
|
|
* // module name: main
|
|
*
|
|
* // has Enum.entries
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static enum Example {
|
|
/*public static final*/ FOO /* = new Example() */;
|
|
|
|
Example() {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<Test.Companion.Example> getEntries() {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
/**
|
|
* public final class Test2 : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // field: foo:LTest2$Amigo$Example;
|
|
* private final val foo: Test2.Amigo.Example
|
|
* private final get
|
|
*
|
|
* // companion object: Amigo
|
|
*
|
|
* // nested class: Amigo
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public final class Test2 {
|
|
@org.jetbrains.annotations.NotNull()
|
|
private final Test2.Amigo.Example foo;
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test2.Amigo Amigo = null;
|
|
|
|
public Test2() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final companion object Test2.Amigo : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // nested class: Example
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Amigo {
|
|
|
|
private Amigo() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final enum class Test2.Amigo.Example : kotlin/Enum<Test2.Amigo.Example> {
|
|
*
|
|
* // signature: <init>(Ljava/lang/String;I)V
|
|
* private constructor()
|
|
*
|
|
* FOO,
|
|
*
|
|
* // module name: main
|
|
*
|
|
* // has Enum.entries
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static enum Example {
|
|
/*public static final*/ FOO /* = new Example() */;
|
|
|
|
Example() {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<Test2.Amigo.Example> getEntries() {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
/**
|
|
* public final class Test3 : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // field: foo:LTest3$Amigo$Example;
|
|
* private final val foo: Test3.Amigo.Example
|
|
* private final get
|
|
*
|
|
* // nested class: Amigo
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public final class Test3 {
|
|
@org.jetbrains.annotations.NotNull()
|
|
private final Test3.Amigo.Example foo = Test3.Amigo.Example.FOO;
|
|
|
|
public Test3() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final object Test3.Amigo : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // nested class: Example
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Amigo {
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test3.Amigo INSTANCE = null;
|
|
|
|
private Amigo() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final enum class Test3.Amigo.Example : kotlin/Enum<Test3.Amigo.Example> {
|
|
*
|
|
* // signature: <init>(Ljava/lang/String;I)V
|
|
* private constructor()
|
|
*
|
|
* FOO,
|
|
*
|
|
* // module name: main
|
|
*
|
|
* // has Enum.entries
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static enum Example {
|
|
/*public static final*/ FOO /* = new Example() */;
|
|
|
|
Example() {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<Test3.Amigo.Example> getEntries() {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
/**
|
|
* public final class Test4 : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // field: foo:I
|
|
* private final val foo: kotlin/Int (* = ... *)
|
|
* private final get
|
|
*
|
|
* // companion object: Companion
|
|
*
|
|
* // nested class: Companion
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public final class Test4 {
|
|
private final int foo = 1;
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test4.Companion Companion = null;
|
|
|
|
public Test4() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final companion object Test4.Companion : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // nested class: Foo
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Companion {
|
|
|
|
private Companion() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final object Test4.Companion.Foo : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // field: constProperty:I
|
|
* public final const val constProperty: kotlin/Int (* = ... *)
|
|
* public final get
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Foo {
|
|
public static final int constProperty = 1;
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test4.Companion.Foo INSTANCE = null;
|
|
|
|
private Foo() {
|
|
super();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
/**
|
|
* public final class Test5 : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // field: foo:LTest5$Amigos$Companion$Goo$Example;
|
|
* private final val foo: Test5.Amigos.Companion.Goo.Example
|
|
* private final get
|
|
*
|
|
* // nested class: Amigos
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public final class Test5 {
|
|
@org.jetbrains.annotations.NotNull()
|
|
private final Test5.Amigos.Companion.Goo.Example foo;
|
|
|
|
public Test5() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final class Test5.Amigos : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // companion object: Companion
|
|
*
|
|
* // nested class: Companion
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Amigos {
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Test5.Amigos.Companion Companion = null;
|
|
|
|
public Amigos() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final companion object Test5.Amigos.Companion : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* private constructor()
|
|
*
|
|
* // nested class: Goo
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Companion {
|
|
|
|
private Companion() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final class Test5.Amigos.Companion.Goo : kotlin/Any {
|
|
*
|
|
* // signature: <init>()V
|
|
* public constructor()
|
|
*
|
|
* // nested class: Example
|
|
*
|
|
* // module name: main
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static final class Goo {
|
|
|
|
public Goo() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* public final enum class Test5.Amigos.Companion.Goo.Example : kotlin/Enum<Test5.Amigos.Companion.Goo.Example> {
|
|
*
|
|
* // signature: <init>(Ljava/lang/String;I)V
|
|
* private constructor()
|
|
*
|
|
* FOO,
|
|
*
|
|
* // module name: main
|
|
*
|
|
* // has Enum.entries
|
|
* }
|
|
*/
|
|
@kotlin.Metadata()
|
|
public static enum Example {
|
|
/*public static final*/ FOO /* = new Example() */;
|
|
|
|
Example() {
|
|
}
|
|
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static kotlin.enums.EnumEntries<Test5.Amigos.Companion.Goo.Example> getEntries() {
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|