Adjust testData: get rid of obsolete annotations

This commit is contained in:
Denis Zharkov
2015-06-09 20:30:52 +03:00
parent 053dcf3abf
commit c9f79c2d05
193 changed files with 322 additions and 322 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
annotation class Foo(val s: String)
[Foo("...")]
@Foo("...")
class ExtraAnnotations
+3 -3
View File
@@ -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,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
}
}
@@ -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? = ""