mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Place valueOf() and values() into the static scope of the corresponding enum class #KT-5580 Fixed #KT-2410 Fixed
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
package test
|
|
|
|
internal final class A {
|
|
/*primary*/ public constructor A()
|
|
|
|
internal class object <class-object-for-A> {
|
|
/*primary*/ private constructor <class-object-for-A>()
|
|
}
|
|
|
|
internal final enum class E : kotlin.Enum<test.A.E> {
|
|
/*primary*/ private constructor E()
|
|
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
|
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
|
|
|
public enum entry ENTRY : test.A.E {
|
|
/*primary*/ private constructor ENTRY()
|
|
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
|
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
|
|
|
public class object <class-object-for-ENTRY> : test.A.E.ENTRY {
|
|
/*primary*/ private constructor <class-object-for-ENTRY>()
|
|
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
|
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
|
}
|
|
}
|
|
|
|
// Static members
|
|
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.A.E
|
|
public final /*synthesized*/ fun values(): kotlin.Array<test.A.E>
|
|
}
|
|
}
|