Get rid of deprecated annotations in testData
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
annotation class Ann
|
||||
|
||||
class Outer {
|
||||
Ann class Nested
|
||||
@Ann class Nested
|
||||
}
|
||||
@@ -26,9 +26,9 @@ enum class Enum
|
||||
interface Trait
|
||||
|
||||
// Deprecation
|
||||
Deprecated("") class DeprecatedClass
|
||||
kotlin.Deprecated("") class DeprecatedFQN
|
||||
kotlin. Deprecated /**/ ("") class DeprecatedFQNSpaces
|
||||
@Deprecated("") class DeprecatedClass
|
||||
@kotlin.Deprecated("") class DeprecatedFQN
|
||||
@kotlin. Deprecated /**/ ("") class DeprecatedFQNSpaces
|
||||
@[Deprecated("")] class DeprecatedWithBrackets
|
||||
@[kotlin.Deprecated("")] class DeprecatedWithBracketsFQN
|
||||
@[kotlin
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import kotlin.platform.platformStatic
|
||||
|
||||
class PlatformStaticClass {
|
||||
companion object {
|
||||
platformStatic
|
||||
@platformStatic
|
||||
fun inClassObject<T>() {}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ class Class {
|
||||
fun notNull(a: String): String = ""
|
||||
fun nullable(a: String?): String? = ""
|
||||
|
||||
NotNull fun notNullWithNN(): String = ""
|
||||
Nullable fun notNullWithN(): String = ""
|
||||
@NotNull fun notNullWithNN(): String = ""
|
||||
@Nullable fun notNullWithN(): String = ""
|
||||
|
||||
Nullable fun nullableWithN(): String? = ""
|
||||
NotNull fun nullableWithNN(): String? = ""
|
||||
@Nullable fun nullableWithN(): String? = ""
|
||||
@NotNull fun nullableWithNN(): String? = ""
|
||||
|
||||
val nullableVal: String? = ""
|
||||
var nullableVar: String? = ""
|
||||
|
||||
@@ -7,11 +7,11 @@ interface Trait {
|
||||
fun notNull(a: String): String
|
||||
fun nullable(a: String?): String?
|
||||
|
||||
NotNull fun notNullWithNN(): String
|
||||
Nullable fun notNullWithN(): String
|
||||
@NotNull fun notNullWithNN(): String
|
||||
@Nullable fun notNullWithN(): String
|
||||
|
||||
Nullable fun nullableWithN(): String?
|
||||
NotNull fun nullableWithNN(): String?
|
||||
@Nullable fun nullableWithN(): String?
|
||||
@NotNull fun nullableWithNN(): String?
|
||||
|
||||
val nullableVal: String?
|
||||
var nullableVar: String?
|
||||
|
||||
+4
-4
@@ -6,11 +6,11 @@ import org.jetbrains.annotations.Nullable
|
||||
fun notNull(a: String): String = ""
|
||||
fun nullable(a: String?): String? = ""
|
||||
|
||||
NotNull fun notNullWithNN(): String = ""
|
||||
Nullable fun notNullWithN(): String = ""
|
||||
@NotNull fun notNullWithNN(): String = ""
|
||||
@Nullable fun notNullWithN(): String = ""
|
||||
|
||||
Nullable fun nullableWithN(): String? = ""
|
||||
NotNull fun nullableWithNN(): String? = ""
|
||||
@Nullable fun nullableWithN(): String? = ""
|
||||
@NotNull fun nullableWithNN(): String? = ""
|
||||
|
||||
val nullableVal: String? = ""
|
||||
var nullableVar: String? = ""
|
||||
|
||||
Reference in New Issue
Block a user