KaInternalsExpressionTypeProvider¶
@SubclassOptInRequired(markerClass = [KaImplementationDetail::class])
interface KaInternalsExpressionTypeProvider
Functions¶
expectedType¶
abstract fun expectedType(element: PsiElement): KaType?
expressionType¶
abstract fun expressionType(expression: KtExpression): KaType?
functionType¶
abstract fun functionType(function: KtFunction): KaType
isDefinitelyNotNull¶
abstract fun isDefinitelyNotNull(expression: KtExpression): Boolean
isDefinitelyNull¶
abstract fun isDefinitelyNull(expression: KtExpression): Boolean
returnType¶
abstract fun returnType(declaration: KtDeclarationWithReturnType): KaType