- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getKaType (0.94 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt
* * Inside the `LIST_KT_ELEMENT.getKaType().getTypeScope()` would contain the `get(i: Int): String` method with substituted type `T = String` * * @return type scope for the given type if given `KaType` is not error type, `null` otherwise. * Returned [KaTypeScope] includes synthetic Java properties. * * @see KaTypeScope * @see KaTypeProviderMixIn.getKaType */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 15.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
* * This may raise an exception if the resolution ends up with an unexpected kind. */ public fun KtTypeReference.getKaType(): KaType = withValidityAssertion { analysisSession.typeProvider.getKtType(this) } public fun KtTypeReference.getKtType(): KaType = getKaType() /** * Resolve [KtDoubleColonExpression] and return [KaType] of its receiver. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
!returnsUnit(namedFunction) -> true namedFunction.bodyExpression == body -> analyze(namedFunction) { (body as KtExpression).getKaType()?.isUnit == true } else -> false } private fun KaSession.isSimpleVariableAccessCall(reference: KtReferenceExpression): Boolean =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0)