annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
86f35acf9e
commit
eab288bdd7
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(val c1: Int)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(val c1: Int)
|
||||
|
||||
Ann('a' - 'a') class MyClass
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val b: Byte,
|
||||
val s: Short,
|
||||
val i: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Int,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Short,
|
||||
val p3: Byte,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Int,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Byte,
|
||||
val p4: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Int,
|
||||
val p4: Long,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Int,
|
||||
val p2: Int,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
annotation(retention = AnnotationRetention.RUNTIME) class Ann(
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Ann(
|
||||
val p1: Byte,
|
||||
val p2: Short,
|
||||
val p3: Int,
|
||||
|
||||
Reference in New Issue
Block a user