Enum.values: deprecation (warning) --> deprecation (error)
This commit is contained in:
+3
-3
@@ -35,7 +35,7 @@ public object Obj {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<Obj.NestedEnum>
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<Obj.NestedEnum>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): Obj.NestedEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<Obj.NestedEnum>
|
||||
}
|
||||
@@ -98,7 +98,7 @@ public final class WithClassObject {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<WithClassObject.NestedEnum>
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<WithClassObject.NestedEnum>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): WithClassObject.NestedEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<WithClassObject.NestedEnum>
|
||||
}
|
||||
@@ -154,7 +154,7 @@ public final class WithoutClassObject {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
@kotlin.Deprecated(message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<WithoutClassObject.NestedEnum>
|
||||
@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use 'values()' function instead", replaceWith = kotlin.ReplaceWith(expression = "this.values()", imports = {})) public final /*synthesized*/ val values: kotlin.Array<WithoutClassObject.NestedEnum>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): WithoutClassObject.NestedEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<WithoutClassObject.NestedEnum>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user