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:
+10
@@ -7,6 +7,7 @@ package org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased
|
|||||||
|
|
||||||
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
|
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
|
||||||
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisFacade.AnalysisMode
|
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisFacade.AnalysisMode
|
||||||
|
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescKotlinPropertySymbol
|
||||||
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.base.toKtType
|
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.base.toKtType
|
||||||
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10NeverRestoringSymbolPointer
|
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10NeverRestoringSymbolPointer
|
||||||
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.base.KtFe10PsiSymbol
|
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.base.KtFe10PsiSymbol
|
||||||
@@ -17,8 +18,10 @@ import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointe
|
|||||||
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
|
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
|
||||||
import org.jetbrains.kotlin.analysis.api.types.KtType
|
import org.jetbrains.kotlin.analysis.api.types.KtType
|
||||||
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
|
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
|
||||||
|
import org.jetbrains.kotlin.analysis.api.symbols.KtKotlinPropertySymbol
|
||||||
import org.jetbrains.kotlin.descriptors.ValueParameterDescriptor
|
import org.jetbrains.kotlin.descriptors.ValueParameterDescriptor
|
||||||
import org.jetbrains.kotlin.descriptors.VariableDescriptor
|
import org.jetbrains.kotlin.descriptors.VariableDescriptor
|
||||||
|
import org.jetbrains.kotlin.descriptors.impl.PropertyDescriptorImpl
|
||||||
import org.jetbrains.kotlin.name.Name
|
import org.jetbrains.kotlin.name.Name
|
||||||
import org.jetbrains.kotlin.psi.KtParameter
|
import org.jetbrains.kotlin.psi.KtParameter
|
||||||
import org.jetbrains.kotlin.resolve.BindingContext
|
import org.jetbrains.kotlin.resolve.BindingContext
|
||||||
@@ -32,6 +35,13 @@ internal class KtFe10PsiValueParameterSymbol(
|
|||||||
bindingContext[BindingContext.VALUE_PARAMETER, psi]
|
bindingContext[BindingContext.VALUE_PARAMETER, psi]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override val generatedPrimaryConstructorProperty: KtKotlinPropertySymbol? by cached {
|
||||||
|
val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
|
||||||
|
val propertyDescriptor = bindingContext[BindingContext.PRIMARY_CONSTRUCTOR_PARAMETER, psi] ?: return@cached null
|
||||||
|
|
||||||
|
KtFe10DescKotlinPropertySymbol(propertyDescriptor as PropertyDescriptorImpl, analysisContext)
|
||||||
|
}
|
||||||
|
|
||||||
override val hasDefaultValue: Boolean
|
override val hasDefaultValue: Boolean
|
||||||
get() = withValidityAssertion { psi.hasDefaultValue() }
|
get() = withValidityAssertion { psi.hasDefaultValue() }
|
||||||
|
|
||||||
|
|||||||
+11
@@ -16,7 +16,9 @@ import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointe
|
|||||||
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
|
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
|
||||||
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
|
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
|
||||||
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
|
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
|
||||||
|
import org.jetbrains.kotlin.analysis.api.symbols.KtKotlinPropertySymbol
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession
|
||||||
|
import org.jetbrains.kotlin.fir.correspondingProperty
|
||||||
import org.jetbrains.kotlin.fir.renderWithType
|
import org.jetbrains.kotlin.fir.renderWithType
|
||||||
import org.jetbrains.kotlin.fir.symbols.impl.FirValueParameterSymbol
|
import org.jetbrains.kotlin.fir.symbols.impl.FirValueParameterSymbol
|
||||||
import org.jetbrains.kotlin.fir.types.arrayElementType
|
import org.jetbrains.kotlin.fir.types.arrayElementType
|
||||||
@@ -55,6 +57,15 @@ internal class KtFirValueParameterSymbol(
|
|||||||
|
|
||||||
override val annotationsList by cached { KtFirAnnotationListForDeclaration.create(firSymbol, firResolveSession.useSiteFirSession, token) }
|
override val annotationsList by cached { KtFirAnnotationListForDeclaration.create(firSymbol, firResolveSession.useSiteFirSession, token) }
|
||||||
|
|
||||||
|
override val generatedPrimaryConstructorProperty: KtKotlinPropertySymbol? by cached {
|
||||||
|
val propertySymbol = firSymbol.fir.correspondingProperty?.symbol ?: return@cached null
|
||||||
|
val ktPropertySymbol = builder.variableLikeBuilder.buildPropertySymbol(propertySymbol)
|
||||||
|
check(ktPropertySymbol is KtKotlinPropertySymbol) {
|
||||||
|
"Unexpected symbol for primary constructor property ${ktPropertySymbol.javaClass} for fir: ${firSymbol.fir.renderWithType()}"
|
||||||
|
}
|
||||||
|
ktPropertySymbol
|
||||||
|
}
|
||||||
|
|
||||||
override fun createPointer(): KtSymbolPointer<KtValueParameterSymbol> {
|
override fun createPointer(): KtSymbolPointer<KtValueParameterSymbol> {
|
||||||
KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it }
|
KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it }
|
||||||
TODO("Creating pointers for functions parameters from library is not supported yet")
|
TODO("Creating pointers for functions parameters from library is not supported yet")
|
||||||
|
|||||||
+5
@@ -193,4 +193,9 @@ public abstract class KtValueParameterSymbol : KtVariableLikeSymbol(), KtSymbolW
|
|||||||
* The names of the value parameters for `invoke()` are "item" and "p2" (its default parameter name).
|
* The names of the value parameters for `invoke()` are "item" and "p2" (its default parameter name).
|
||||||
*/
|
*/
|
||||||
abstract override val name: Name
|
abstract override val name: Name
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The corresponding [KtPropertySymbol] if the current value parameter is a `val` or `var` declared inside the primary constructor.
|
||||||
|
*/
|
||||||
|
public open val generatedPrimaryConstructorProperty: KtKotlinPropertySymbol? get() = null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Anno.param1)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -17,6 +18,7 @@ KtValueParameterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Anno.param2)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ KtPropertyGetterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
class A() {
|
class A(val a: Int, b: String) {
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-1
@@ -1 +1,5 @@
|
|||||||
class A
|
class A {
|
||||||
|
constructor(a: kotlin.Int, b: kotlin.String)
|
||||||
|
|
||||||
|
val a: kotlin.Int
|
||||||
|
}
|
||||||
+38
-1
@@ -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:
|
KtConstructorSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
@@ -10,7 +44,10 @@ KtConstructorSymbol:
|
|||||||
returnType: A
|
returnType: A
|
||||||
symbolKind: CLASS_MEMBER
|
symbolKind: CLASS_MEMBER
|
||||||
typeParameters: []
|
typeParameters: []
|
||||||
valueParameters: []
|
valueParameters: [
|
||||||
|
KtValueParameterSymbol(a)
|
||||||
|
KtValueParameterSymbol(b)
|
||||||
|
]
|
||||||
visibility: Public
|
visibility: Public
|
||||||
getContainingModule: KtSourceModule "Sources of main"
|
getContainingModule: KtSourceModule "Sources of main"
|
||||||
deprecationStatus: null
|
deprecationStatus: null
|
||||||
|
|||||||
+3
@@ -18,6 +18,7 @@ KtConstructorSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -53,6 +54,7 @@ KtConstructorSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -69,6 +71,7 @@ KtValueParameterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.x)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -17,6 +18,7 @@ KtValueParameterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.y)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -33,6 +35,7 @@ KtValueParameterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.z)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Style.value)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Style.value)
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ KtTypeParameterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -61,6 +62,7 @@ KtLocalVariableSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -176,6 +178,7 @@ KtFunctionSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ KtPropertyGetterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ KtPropertyGetterSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
@@ -123,6 +123,7 @@ KtNamedClassOrObjectSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ KtNamedClassOrObjectSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -44,6 +45,7 @@ KtFunctionSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -87,6 +89,7 @@ KtFunctionSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
@@ -130,6 +133,7 @@ KtFunctionSymbol:
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: false
|
isImplicitLambdaParameter: false
|
||||||
|
|||||||
+1
@@ -1,6 +1,7 @@
|
|||||||
KtValueParameterSymbol:
|
KtValueParameterSymbol:
|
||||||
annotationsList: []
|
annotationsList: []
|
||||||
callableIdIfNonLocal: null
|
callableIdIfNonLocal: null
|
||||||
|
generatedPrimaryConstructorProperty: null
|
||||||
hasDefaultValue: false
|
hasDefaultValue: false
|
||||||
isExtension: false
|
isExtension: false
|
||||||
isImplicitLambdaParameter: true
|
isImplicitLambdaParameter: true
|
||||||
|
|||||||
Reference in New Issue
Block a user