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
@@ -23,9 +23,9 @@ public final enum class MyEnum : kotlin.Enum<MyEnum> {
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<MyEnum>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<MyEnum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): MyEnum
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<MyEnum>
public final /*synthesized*/ fun values(): kotlin.Array<MyEnum>
}
@AnnE() public final class Test {
@@ -197,8 +197,8 @@ package test {
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<test.MyEnum>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<test.MyEnum>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.MyEnum
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<test.MyEnum>
public final /*synthesized*/ fun values(): kotlin.Array<test.MyEnum>
}
}
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@empty() public final class correct {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@incorrect() public final class correct {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.LOCAL_VARIABLE}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) public final annotation class base : kotlin.Annotation {
@@ -18,9 +18,9 @@ package
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
// Static members
public final /*synthesized*/ val values: kotlin.Array<My>
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<My>
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): My
@kotlin.Deprecated(message = "Use 'values' property instead", replaceWith = kotlin.ReplaceWith(expression = "this.values", imports = {})) public final /*synthesized*/ fun values(): kotlin.Array<My>
public final /*synthesized*/ fun values(): kotlin.Array<My>
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) public final annotation class base : kotlin.Annotation {