Adjust testData: get rid of obsolete annotations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
annotation class Foo(val s: String)
|
||||
|
||||
[Foo("...")]
|
||||
@Foo("...")
|
||||
class ExtraAnnotations
|
||||
@@ -29,9 +29,9 @@ interface Trait
|
||||
deprecated("") class Deprecated
|
||||
kotlin.deprecated("") class DeprecatedFQN
|
||||
kotlin. deprecated /**/ ("") class DeprecatedFQNSpaces
|
||||
[deprecated("")] class DeprecatedWithBrackets
|
||||
[kotlin.deprecated("")] class DeprecatedWithBracketsFQN
|
||||
[kotlin
|
||||
@[deprecated("")] class DeprecatedWithBrackets
|
||||
@[kotlin.deprecated("")] class DeprecatedWithBracketsFQN
|
||||
@[kotlin
|
||||
./**/deprecated ("")] class DeprecatedWithBracketsFQNSpaces
|
||||
|
||||
// Generic
|
||||
|
||||
@@ -19,16 +19,16 @@ class Class {
|
||||
var notNullVar: String = ""
|
||||
|
||||
val notNullValWithGet: String
|
||||
[Nullable] get() = ""
|
||||
@[Nullable] get() = ""
|
||||
|
||||
var notNullVarWithGetSet: String
|
||||
[Nullable] get() = ""
|
||||
[Nullable] set(v) {}
|
||||
@[Nullable] get() = ""
|
||||
@[Nullable] set(v) {}
|
||||
|
||||
val nullableValWithGet: String?
|
||||
[NotNull] get() = ""
|
||||
@[NotNull] get() = ""
|
||||
|
||||
var nullableVarWithGetSet: String?
|
||||
[NotNull] get() = ""
|
||||
[NotNull] set(v) {}
|
||||
@[NotNull] get() = ""
|
||||
@[NotNull] set(v) {}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// C
|
||||
|
||||
class C {
|
||||
[kotlin.jvm.jvmOverloads] public fun foo(o: String = "O", s1: String, k: String = "K", s2: String?): String {
|
||||
@[kotlin.jvm.jvmOverloads] public fun foo(o: String = "O", s1: String, k: String = "K", s2: String?): String {
|
||||
return o + k
|
||||
}
|
||||
}
|
||||
|
||||
+6
-6
@@ -18,18 +18,18 @@ val notNullVal: String = ""
|
||||
var notNullVar: String = ""
|
||||
|
||||
val notNullValWithGet: String
|
||||
[Nullable] get() = ""
|
||||
@[Nullable] get() = ""
|
||||
|
||||
var notNullVarWithGetSet: String
|
||||
[Nullable] get() = ""
|
||||
[Nullable] set(v) {}
|
||||
@[Nullable] get() = ""
|
||||
@[Nullable] set(v) {}
|
||||
|
||||
val nullableValWithGet: String?
|
||||
[NotNull] get() = ""
|
||||
@[NotNull] get() = ""
|
||||
|
||||
var nullableVarWithGetSet: String?
|
||||
[NotNull] get() = ""
|
||||
[NotNull] set(v) {}
|
||||
@NotNull get() = ""
|
||||
@NotNull set(v) {}
|
||||
|
||||
private val privateNn: String = ""
|
||||
private val privateN: String? = ""
|
||||
|
||||
Reference in New Issue
Block a user