FIR: fix order of property accessor annotations
#KT-57219 Fixed
This commit is contained in:
committed by
Space Team
parent
9c995755f0
commit
40c628d431
-3
@@ -1,3 +0,0 @@
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
hasBody: true
|
||||
hasStableParameterNames: true
|
||||
isDefault: false
|
||||
isExtension: false
|
||||
isInline: false
|
||||
isOverride: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: ACCESSOR
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@ExplicitGetAnnotation
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
hasBody: true
|
||||
hasStableParameterNames: true
|
||||
isDefault: false
|
||||
isExtension: false
|
||||
isInline: false
|
||||
isOverride: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
receiverParameter: KtReceiverParameterSymbol:
|
||||
annotationsList: [
|
||||
ReceiverAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
origin: SOURCE
|
||||
owningCallableSymbol: KtKotlinPropertySymbol(/x)
|
||||
type: KtUsualClassType:
|
||||
annotationsList: [
|
||||
ReceiverTypeAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
ownTypeArguments: []
|
||||
type: @R|ReceiverTypeAnnotation|() kotlin/Long
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: ACCESSOR
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.pretty.txt
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
@ExplicitGetAnnotation
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
Vendored
+2
-2
@@ -1,9 +1,9 @@
|
||||
KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
@PropertyAnnotation
|
||||
var x: kotlin.Int
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
@SetAnnotation
|
||||
@ExplicitSetAnnotation
|
||||
set(@ExplicitSetparamAnnotation @SetparamAnnotation value: kotlin.Int)
|
||||
-167
@@ -1,167 +0,0 @@
|
||||
KtKotlinPropertySymbol:
|
||||
annotationsList: [
|
||||
PropertyAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
backingFieldSymbol: KtBackingFieldSymbol:
|
||||
annotationsList: [
|
||||
FieldAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
isExtension: false
|
||||
name: field
|
||||
origin: PROPERTY_BACKING_FIELD
|
||||
owningProperty: KtKotlinPropertySymbol(/x)
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
typeParameters: []
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
callableIdIfNonLocal: /x
|
||||
contextReceivers: []
|
||||
getter: KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
hasBody: true
|
||||
hasStableParameterNames: true
|
||||
isDefault: false
|
||||
isExtension: false
|
||||
isInline: false
|
||||
isOverride: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: ACCESSOR
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
hasBackingField: true
|
||||
hasGetter: true
|
||||
hasSetter: true
|
||||
initializer: KtConstantInitializerValue(0)
|
||||
isConst: false
|
||||
isDelegatedProperty: false
|
||||
isExtension: false
|
||||
isFromPrimaryConstructor: false
|
||||
isLateInit: false
|
||||
isOverride: false
|
||||
isStatic: false
|
||||
isVal: false
|
||||
modality: FINAL
|
||||
name: x
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
setter: KtPropertySetterSymbol:
|
||||
annotationsList: [
|
||||
SetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
hasBody: true
|
||||
hasStableParameterNames: true
|
||||
isDefault: false
|
||||
isExtension: false
|
||||
isInline: false
|
||||
isOverride: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
parameter: KtValueParameterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
generatedPrimaryConstructorProperty: null
|
||||
hasDefaultValue: false
|
||||
isCrossinline: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isNoinline: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
typeParameters: []
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Unit
|
||||
symbolKind: ACCESSOR
|
||||
typeParameters: []
|
||||
valueParameters: [
|
||||
KtValueParameterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
generatedPrimaryConstructorProperty: null
|
||||
hasDefaultValue: false
|
||||
isCrossinline: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isNoinline: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
typeParameters: []
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
]
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
symbolKind: TOP_LEVEL
|
||||
typeParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
getterDeprecationStatus: null
|
||||
javaGetterName: getX
|
||||
javaSetterName: setX
|
||||
setterDeprecationStatus: null
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
@PropertyAnnotation
|
||||
var x: kotlin.Int
|
||||
@ExplicitGetAnnotation
|
||||
@GetAnnotation
|
||||
@ExplicitGetAnnotation
|
||||
get()
|
||||
@ExplicitSetAnnotation
|
||||
@SetAnnotation
|
||||
@ExplicitSetAnnotation
|
||||
set(@ExplicitSetparamAnnotation @SetparamAnnotation value: kotlin.Int)
|
||||
Vendored
+4
-4
@@ -27,10 +27,10 @@ KtKotlinPropertySymbol:
|
||||
contextReceivers: []
|
||||
getter: KtPropertyGetterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
GetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitGetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
@@ -75,10 +75,10 @@ KtKotlinPropertySymbol:
|
||||
type: kotlin/Int
|
||||
setter: KtPropertySetterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
@SetAnnotation
|
||||
@ExplicitSetAnnotation
|
||||
set(@ExplicitSetparamAnnotation @SetparamAnnotation value: kotlin.Int)
|
||||
Vendored
-83
@@ -1,83 +0,0 @@
|
||||
KtPropertySetterSymbol:
|
||||
annotationsList: [
|
||||
SetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
hasBody: true
|
||||
hasStableParameterNames: true
|
||||
isDefault: false
|
||||
isExtension: false
|
||||
isInline: false
|
||||
isOverride: false
|
||||
modality: FINAL
|
||||
origin: SOURCE
|
||||
parameter: KtValueParameterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
generatedPrimaryConstructorProperty: null
|
||||
hasDefaultValue: false
|
||||
isCrossinline: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isNoinline: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
typeParameters: []
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Unit
|
||||
symbolKind: ACCESSOR
|
||||
typeParameters: []
|
||||
valueParameters: [
|
||||
KtValueParameterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetparamAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
generatedPrimaryConstructorProperty: null
|
||||
hasDefaultValue: false
|
||||
isCrossinline: false
|
||||
isExtension: false
|
||||
isImplicitLambdaParameter: false
|
||||
isNoinline: false
|
||||
isVararg: false
|
||||
name: value
|
||||
origin: SOURCE
|
||||
receiverParameter: null
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: LOCAL
|
||||
typeParameters: []
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
]
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@ExplicitSetAnnotation
|
||||
@SetAnnotation
|
||||
@ExplicitSetAnnotation
|
||||
set(@ExplicitSetparamAnnotation @SetparamAnnotation value: kotlin.Int)
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
KtPropertySetterSymbol:
|
||||
annotationsList: [
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
SetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
ExplicitSetAnnotation()
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
callableIdIfNonLocal: null
|
||||
contextReceivers: []
|
||||
|
||||
Reference in New Issue
Block a user