mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-01 15:51:52 +00:00
For static members, a corresponding package is now created for every enum, as it's done for every other class. All static members of enum classes are resolved into the package, EXCEPT its enum entries, valueOf() and values() methods, which are put into the enum's class descriptor.
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
package test
|
|
|
|
public trait CustomAnnotation : java.lang.Object {
|
|
|
|
public final annotation class MyAnnotation : jet.Annotation {
|
|
public constructor MyAnnotation(/*0*/ value : test.CustomAnnotation.MyEnum?)
|
|
public abstract fun value() : test.CustomAnnotation.MyEnum?
|
|
}
|
|
|
|
public final enum class MyEnum : jet.Enum<test.CustomAnnotation.MyEnum> {
|
|
private constructor MyEnum()
|
|
public final override /*1*/ /*fake_override*/ fun name() : jet.String
|
|
public final override /*1*/ /*fake_override*/ fun ordinal() : jet.Int
|
|
|
|
public class object <class-object-for-MyEnum> {
|
|
private constructor <class-object-for-MyEnum>()
|
|
public final val ONE : test.CustomAnnotation.MyEnum
|
|
public final fun valueOf(/*0*/ value : jet.String) : test.CustomAnnotation.MyEnum
|
|
public final fun values() : jet.Array<test.CustomAnnotation.MyEnum>
|
|
}
|
|
}
|
|
|
|
test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE: test.CustomAnnotation.MyEnum) public open class MyTest : java.lang.Object {
|
|
public constructor MyTest()
|
|
}
|
|
}
|