Rename sparam to setparam
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
package boo
|
||||
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
class A
|
||||
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
interface I
|
||||
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
fun a()
|
||||
|
||||
@get:Deprecated
|
||||
@set:Deprecated
|
||||
@sparam:Deprecated
|
||||
@setparam:Deprecated
|
||||
fun b()
|
||||
@@ -25,7 +25,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -58,7 +58,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -101,7 +101,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -140,7 +140,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -179,7 +179,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -221,7 +221,7 @@ JetFile: inWrongPlace.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
|
||||
@@ -2,7 +2,7 @@ class A {
|
||||
|
||||
@get:An
|
||||
@set:An
|
||||
@sparam:An
|
||||
@setparam:An
|
||||
var a: String = "A"
|
||||
|
||||
}
|
||||
@@ -38,7 +38,7 @@ JetFile: simple.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ class A {
|
||||
|
||||
@get:a
|
||||
@set:[b c]
|
||||
@sparam:d
|
||||
@setparam:d
|
||||
var a: Int
|
||||
@e get() = 5
|
||||
@f @g set(@h v) {}
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ JetFile: twoAnnotationLists.kt
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(sparam)('sparam')
|
||||
PsiElement(setparam)('setparam')
|
||||
PsiElement(COLON)(':')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
|
||||
Reference in New Issue
Block a user