Deprecate deprecated in favor of Deprecated

This commit is contained in:
Denis Zharkov
2015-09-01 19:59:19 +03:00
parent 952d45dc8b
commit 31244edec9
444 changed files with 686 additions and 688 deletions
@@ -3,10 +3,10 @@ package org.test
public data class SomeClass {
public val immutableProperty: Int = 5
@Deprecated get
@java.lang.Deprecated get
public var mutableProperty: String = "String"
@Deprecated get
@Deprecated set
@java.lang.Deprecated get
@java.lang.Deprecated set
}
@@ -4,7 +4,7 @@ public class SomeClass {
private fun a() {
object : Any() {
@Deprecated
@java.lang.Deprecated
val property: Int = 5
}
@@ -1,5 +1,5 @@
package org.test
Deprecated public class SomeClass
java.lang.Deprecated public class SomeClass
Deprecated public object SomeObject
java.lang.Deprecated public object SomeObject
@@ -2,11 +2,11 @@ package org.test
public class SomeClass {
@Deprecated constructor() {
@java.lang.Deprecated constructor() {
}
@Deprecated constructor(s: String) {
@java.lang.Deprecated constructor(s: String) {
}
@@ -1,8 +1,8 @@
data public class SomeClass {
@Deprecated public var annotatedProperty: String? = null
@java.lang.Deprecated public var annotatedProperty: String? = null
Deprecated public inline fun annotatedFunction() {
java.lang.Deprecated public inline fun annotatedFunction() {
}
@@ -2,10 +2,10 @@ package org.test
public class SomeClass {
Deprecated
java.lang.Deprecated
public val annotatedVal: String? = null
Deprecated
java.lang.Deprecated
public var annotatedVar: Int = 5
}
@@ -3,9 +3,9 @@ package org.test
public class SomeClass {
public fun someFunction() {
@Deprecated class LocalClass {
@java.lang.Deprecated class LocalClass {
public Deprecated var annotatedProperty: String? = null
public java.lang.Deprecated var annotatedProperty: String? = null
public inline fun annotatedFunction() {
@@ -4,7 +4,7 @@ public class SomeClass {
public fun annotatedFunction() {
@Deprecated fun localFunction() {
@java.lang.Deprecated fun localFunction() {
}
@@ -2,27 +2,27 @@ package org.test
public class SomeClass {
Deprecated
java.lang.Deprecated
companion object {
}
Deprecated
java.lang.Deprecated
object SomeInnerObject {
}
Deprecated
java.lang.Deprecated
inner class InnerClass {
Deprecated
java.lang.Deprecated
inner class InnerClassInInnerClass {
}
}
Deprecated
java.lang.Deprecated
class NestedClass {
}