- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getReturnTypeForKtDeclaration (0.28 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
SubstitutedValueParameter(parameter, substitutor.substituteOrSelf(parameter.returnTypeRef.coneType)) } } override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType { val firDeclaration = if (declaration is KtParameter && declaration.ownerFunction == null) { declaration.getOrBuildFir(firResolveSession) } else {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
} val kotlinType = smartCastType ?: expression.getType(bindingContext) ?: analysisContext.builtIns.unitType return kotlinType.toKtType(analysisContext) } override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType { // Handle callable declarations with explicit return type first if (declaration is KtCallableDeclaration) { val typeReference = declaration.typeReference
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Tue Oct 24 20:59:56 GMT 2023 - 15.5K bytes - Viewed (0)