Adjust testData: get rid of obsolete annotations
This commit is contained in:
+3
-3
@@ -3,10 +3,10 @@ package org.test
|
||||
public data class SomeClass {
|
||||
|
||||
public val immutableProperty: Int = 5
|
||||
[Deprecated] get
|
||||
@Deprecated get
|
||||
|
||||
public var mutableProperty: String = "String"
|
||||
[Deprecated] get
|
||||
[Deprecated] set
|
||||
@Deprecated get
|
||||
@Deprecated set
|
||||
|
||||
}
|
||||
+1
-1
@@ -4,7 +4,7 @@ public class SomeClass {
|
||||
|
||||
private fun a() {
|
||||
object : Any() {
|
||||
[Deprecated]
|
||||
@Deprecated
|
||||
val property: Int = 5
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@ package org.test
|
||||
|
||||
public class SomeClass {
|
||||
|
||||
[Deprecated] constructor() {
|
||||
@Deprecated constructor() {
|
||||
|
||||
}
|
||||
|
||||
[Deprecated] constructor(s: String) {
|
||||
@Deprecated constructor(s: String) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
data public class SomeClass {
|
||||
|
||||
[Deprecated] public var annotatedProperty: String? = null
|
||||
@Deprecated public var annotatedProperty: String? = null
|
||||
|
||||
Deprecated public inline fun annotatedFunction() {
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package org.test
|
||||
public class SomeClass {
|
||||
|
||||
public fun someFunction() {
|
||||
[Deprecated] class LocalClass {
|
||||
@Deprecated class LocalClass {
|
||||
|
||||
public Deprecated var annotatedProperty: String? = null
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ public class SomeClass {
|
||||
|
||||
public fun annotatedFunction() {
|
||||
|
||||
[Deprecated] fun localFunction() {
|
||||
@Deprecated fun localFunction() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user