FIR/Analysis API: Add KtValueParameterSymbol#generatedPrimaryConstructorProperty

This property are used to allow access to the property created from
the primary constructor parameter
This commit is contained in:
Stanislav Erokhin
2022-05-26 11:16:42 +02:00
committed by Space
parent ed881f3f31
commit 2deb0cc237
23 changed files with 97 additions and 3 deletions
@@ -1,3 +1,37 @@
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/A.a)
hasDefaultValue: false
isExtension: false
isImplicitLambdaParameter: false
isVararg: false
name: a
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isExtension: false
isImplicitLambdaParameter: false
isVararg: false
name: b
origin: SOURCE
receiverType: null
returnType: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
KtConstructorSymbol:
annotationsList: []
callableIdIfNonLocal: null
@@ -10,7 +44,10 @@ KtConstructorSymbol:
returnType: A
symbolKind: CLASS_MEMBER
typeParameters: []
valueParameters: []
valueParameters: [
KtValueParameterSymbol(a)
KtValueParameterSymbol(b)
]
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null