IR: move enum value array initialization out of <clinit>
#KT-44192 Fixed
This commit is contained in:
committed by
Alexander Udalov
parent
f8f08e8134
commit
7cc06489dd
@@ -0,0 +1,45 @@
|
||||
@NoArg
|
||||
@kotlin.Metadata
|
||||
public final enum class Colors {
|
||||
// source: 'annoOnNotClass.kt'
|
||||
private synthetic final static field $VALUES: Colors[]
|
||||
public final enum static field RED: Colors
|
||||
public final enum static field WHITE: Colors
|
||||
private synthetic final static method $values(): Colors[]
|
||||
static method <clinit>(): void
|
||||
private method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): Colors
|
||||
public static method values(): Colors[]
|
||||
}
|
||||
|
||||
@NoArg
|
||||
@kotlin.Metadata
|
||||
public interface Intf {
|
||||
// source: 'annoOnNotClass.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class MyClass {
|
||||
// source: 'annoOnNotClass.kt'
|
||||
private @NoArg @org.jetbrains.annotations.NotNull field abc: java.lang.String
|
||||
public method <init>(p0: int): void
|
||||
public final @NoArg @org.jetbrains.annotations.NotNull method getAbc(): java.lang.String
|
||||
public final @NoArg method setAbc(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @NoArg method someFun(): void
|
||||
}
|
||||
|
||||
@NoArg
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class NoArg {
|
||||
// source: 'annoOnNotClass.kt'
|
||||
}
|
||||
|
||||
@NoArg
|
||||
@kotlin.Metadata
|
||||
public final class Obj {
|
||||
// source: 'annoOnNotClass.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field INSTANCE: Obj
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
}
|
||||
Reference in New Issue
Block a user