Regenerate test data on enums
Now they have final equals, hashCode and compareTo
This commit is contained in:
@@ -1,35 +1,38 @@
|
||||
package test
|
||||
|
||||
public trait CustomAnnotation {
|
||||
|
||||
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: test.CustomAnnotation.MyEnum)
|
||||
public abstract fun value(): test.CustomAnnotation.MyEnum
|
||||
}
|
||||
|
||||
|
||||
public final enum class MyEnum : kotlin.Enum<test.CustomAnnotation.MyEnum!> {
|
||||
private constructor MyEnum()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.CustomAnnotation.MyEnum!): kotlin.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
|
||||
public enum entry ONE : test.CustomAnnotation.MyEnum {
|
||||
private constructor ONE()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.CustomAnnotation.MyEnum!): kotlin.Int
|
||||
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-ONE> : test.CustomAnnotation.MyEnum.ONE {
|
||||
private constructor <class-object-for-ONE>()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.CustomAnnotation.MyEnum!): kotlin.Int
|
||||
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.CustomAnnotation.MyEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
|
||||
}
|
||||
|
||||
|
||||
test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE: test.CustomAnnotation.MyEnum) public open class MyTest {
|
||||
public constructor MyTest()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,31 +3,34 @@ package test
|
||||
public open class NestedEnumArgument {
|
||||
public constructor NestedEnumArgument()
|
||||
test.NestedEnumArgument.Anno(value = E.FIRST: test.NestedEnumArgument.E) public/*package*/ open fun foo(): kotlin.Unit
|
||||
|
||||
|
||||
public/*package*/ final annotation class Anno : kotlin.Annotation {
|
||||
public/*package*/ constructor Anno(/*0*/ value: test.NestedEnumArgument.E)
|
||||
public abstract fun value(): test.NestedEnumArgument.E
|
||||
}
|
||||
|
||||
|
||||
public final enum class E : kotlin.Enum<test.NestedEnumArgument.E!> {
|
||||
private constructor E()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.NestedEnumArgument.E!): kotlin.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
|
||||
public enum entry FIRST : test.NestedEnumArgument.E {
|
||||
private constructor FIRST()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.NestedEnumArgument.E!): kotlin.Int
|
||||
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-FIRST> : test.NestedEnumArgument.E.FIRST {
|
||||
private constructor <class-object-for-FIRST>()
|
||||
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.NestedEnumArgument.E!): kotlin.Int
|
||||
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.NestedEnumArgument.E
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.NestedEnumArgument.E>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user