Render property accessor annotations in .txt test data
If property accessor rendering is disabled in a test, render annotations on accessors as use-site-targeted, as was done with `@setparam:`-annotations. Otherwise they were lost
This commit is contained in:
+3
-3
@@ -5,7 +5,7 @@ package foo {
|
||||
|
||||
public final class Diff {
|
||||
public constructor Diff()
|
||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "") public final var p: kotlin.Int
|
||||
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "") @get:kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "") @set:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public final var p: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
@@ -45,7 +45,7 @@ package foo {
|
||||
|
||||
public open class GetterDeprecated {
|
||||
public constructor GetterDeprecated()
|
||||
public open var p: kotlin.Int
|
||||
@get:kotlin.Deprecated(message = "") public open var p: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
@@ -91,7 +91,7 @@ package foo {
|
||||
|
||||
public open class SetterDeprecated {
|
||||
public constructor SetterDeprecated()
|
||||
public open var p: kotlin.Int
|
||||
@set:kotlin.Deprecated(message = "") public open var p: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package
|
||||
|
||||
public val v1: kotlin.String
|
||||
@get:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public val v1: kotlin.String
|
||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public val v2: kotlin.String = ""
|
||||
public var v3: kotlin.String
|
||||
public var v4: kotlin.String
|
||||
public var v5: kotlin.String
|
||||
@get:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public var v3: kotlin.String
|
||||
@set:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public var v4: kotlin.String
|
||||
@get:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") @set:kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public var v5: kotlin.String
|
||||
@kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "") public var v6: kotlin.String
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
@@ -16,10 +16,10 @@ public final class Delegate {
|
||||
public final class PropertyHolder {
|
||||
public constructor PropertyHolder()
|
||||
@kotlin.Deprecated(message = "text") public final var name: kotlin.String
|
||||
public final val test1: kotlin.String = ""
|
||||
public final var test2: kotlin.String
|
||||
public final var test3: kotlin.String
|
||||
public final var test4: kotlin.String
|
||||
@get:kotlin.Deprecated(message = "val-getter") public final val test1: kotlin.String = ""
|
||||
@get:kotlin.Deprecated(message = "var-getter") @set:kotlin.Deprecated(message = "var-setter") public final var test2: kotlin.String
|
||||
@get:kotlin.Deprecated(message = "var-getter") public final var test3: kotlin.String
|
||||
@set:kotlin.Deprecated(message = "var-setter") public final var test4: kotlin.String
|
||||
public final val valDelegate: kotlin.Int
|
||||
public final var varDelegate: kotlin.Int
|
||||
@kotlin.Deprecated(message = "text") public final val x: kotlin.Int = 1
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ public final class PropertyHolder {
|
||||
public constructor PropertyHolder()
|
||||
@kotlin.Deprecated(message = "") public final val a1: kotlin.Int = 1
|
||||
@kotlin.Deprecated(message = "") public final var a2: kotlin.String
|
||||
public final val withGetter: kotlin.String = ""
|
||||
public final var withSetter: kotlin.String
|
||||
@get:kotlin.Deprecated(message = "") public final val withGetter: kotlin.String = ""
|
||||
@set:kotlin.Deprecated(message = "") public final var withSetter: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user