Enum.values is now deprecated but Enum.values() is no more deprecated

This commit is contained in:
Mikhail Glukhikh
2015-11-23 13:22:57 +03:00
parent 6e733f708e
commit dc60c62781
185 changed files with 433 additions and 433 deletions
@@ -17,9 +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>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.CustomAnnotation.MyEnum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): 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>
public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
}
@test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE) public open class MyTest {
@@ -14,9 +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>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumArgumentWithCustomToString.E>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): 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 /*synthesized*/ fun values(): kotlin.Array<test.EnumArgumentWithCustomToString.E>
}
public final annotation class EnumAnno : kotlin.Annotation {
@@ -16,7 +16,7 @@ public final enum class EnumConstructorParameter : kotlin.Enum<test.EnumConstruc
}
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.EnumConstructorParameter>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.EnumConstructorParameter>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): 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>
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumConstructorParameter>
}
@@ -19,8 +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>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.NestedEnumArgument.E>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): 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>
public final /*synthesized*/ fun values(): kotlin.Array<test.NestedEnumArgument.E>
}
}