Regenerate rendered descriptors after transforming Enum.values to property

This commit is contained in:
Denis Zharkov
2015-10-16 21:48:06 +03:00
parent d8ede6d03e
commit 1c02231cda
175 changed files with 423 additions and 204 deletions
@@ -17,8 +17,9 @@ public interface CustomAnnotation {
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.CustomAnnotation.MyEnum!): kotlin.Int
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.CustomAnnotation.MyEnum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.CustomAnnotation.MyEnum
public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
}
@test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE) public open class MyTest {
@@ -14,8 +14,9 @@ public open class EnumArgumentWithCustomToString {
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.EnumArgumentWithCustomToString.E!): kotlin.Int
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.EnumArgumentWithCustomToString.E>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumArgumentWithCustomToString.E
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumArgumentWithCustomToString.E>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.EnumArgumentWithCustomToString.E>
}
public final class EnumAnno : kotlin.Annotation {
@@ -16,6 +16,7 @@ public final enum class EnumConstructorParameter : kotlin.Enum<test.EnumConstruc
}
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.EnumConstructorParameter>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumConstructorParameter
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumConstructorParameter>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.EnumConstructorParameter>
}
@@ -19,7 +19,8 @@ public open class NestedEnumArgument {
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.NestedEnumArgument.E!): kotlin.Int
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.NestedEnumArgument.E>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.NestedEnumArgument.E
public final /*synthesized*/ fun values(): kotlin.Array<test.NestedEnumArgument.E>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.NestedEnumArgument.E>
}
}
@@ -14,6 +14,7 @@ public final enum class EnumMembers : kotlin.Enum<test.EnumMembers!> {
public open fun first(): kotlin.Boolean
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.EnumMembers>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumMembers
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumMembers>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.EnumMembers>
}
@@ -16,6 +16,7 @@ public open enum class EnumWithSpecializedEntry : kotlin.Enum<test.EnumWithSpeci
}
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.EnumWithSpecializedEntry>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumWithSpecializedEntry
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumWithSpecializedEntry>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.EnumWithSpecializedEntry>
}
+2 -1
View File
@@ -12,6 +12,7 @@ public final enum class JavaEnum : kotlin.Enum<test.JavaEnum!> {
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.JavaEnum!): kotlin.Int
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.JavaEnum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.JavaEnum
public final /*synthesized*/ fun values(): kotlin.Array<test.JavaEnum>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.JavaEnum>
}
+2 -1
View File
@@ -26,6 +26,7 @@ public final enum class Enum : kotlin.Enum<test.Enum!> {
}
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.Enum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.Enum
public final /*synthesized*/ fun values(): kotlin.Array<test.Enum>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.Enum>
}
@@ -12,9 +12,10 @@ public final enum class StaticMembersInEnum : kotlin.Enum<test.StaticMembersInEn
// Static members
public final val CONSTANT: test.StaticMembersInEnum!
public final var STATIC_FIELD: kotlin.Int
public final /*synthesized*/ val values: kotlin.Array<test.StaticMembersInEnum>
public open fun foo(): kotlin.Unit
public open fun valueOf(/*0*/ p0: kotlin.Int): kotlin.Unit
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.StaticMembersInEnum
public final /*synthesized*/ fun values(): kotlin.Array<test.StaticMembersInEnum>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.StaticMembersInEnum>
public open fun values(/*0*/ p0: kotlin.Int): kotlin.Unit
}
@@ -29,7 +29,8 @@ public/*package*/ final enum class StaticMembersInEnum : kotlin.Enum<test.Static
public final var c: kotlin.Int
public final override /*1*/ var d: kotlin.Int
public const final override /*1*/ /*fake_override*/ val e: kotlin.Int
public final /*synthesized*/ val values: kotlin.Array<test.StaticMembersInEnum>
public open fun foo(): kotlin.Unit
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.StaticMembersInEnum
public final /*synthesized*/ fun values(): kotlin.Array<test.StaticMembersInEnum>
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.StaticMembersInEnum>
}