Home
last modified time | relevance | path

Searched refs:ktType (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DKotlinTypeInfo.kt51 ktType: KtType?, in <lambda>()
62 val ktType = in <lambda>() constant
63 analysisSession?.run { ktType?.fullyExpandedType } in <lambda>()
64 ?: ktType?.let { in <lambda>()
65 error("cannot have non-null ktType ($ktType) with a null analysisSession") in <lambda>()
69 return "KotlinTypeInfo($ktType for $context)" in <lambda>()
73 ktType: KtType? = this.ktType, in <lambda>()
75 ) = KotlinTypeInfo(analysisSession, ktType, context, overrideTypeArguments) in <lambda>()
83 return if (analysisSession != null && ktType != null) { in <lambda>()
85 if (analysisSession.isInheritedGenericType(ktType)) { in <lambda>()
[all …]
DPsiTypeItemFactory.kt215 if (kotlinType?.ktType is KtFunctionalType) { in <lambda>()
341 kotlinType?.ktType?.let { ktType -> in <lambda>() method
342 (ktType as? KtNonErrorClassType)?.ownTypeArguments?.ifNotEmpty { in <lambda>()
434 if (kotlinType.analysisSession == null || kotlinType.ktType == null) return emptyList() in <lambda>()
436 val ktType = kotlinType.ktType as KtNonErrorClassType in <lambda>() constant
456 ktType.asPsiType(kotlinType.context, false, mode = mode) in <lambda>()
552 val ktType = kotlinType.ktType as KtFunctionalType in <lambda>() constant
554 val isSuspend = ktType.isSuspend in <lambda>()
563 ktType.receiverType?.let { add(kotlinType.copy(ktType = it)) } in <lambda>()
565 ktType.parameterTypes.mapTo(this) { kotlinType.copy(ktType = it) } in <lambda>()
[all …]
DPsiParameterItem.kt294 val ktType = parameter.getParameterSymbol().returnType in isSamCompatibleOrKotlinLambda() constant
295 val isSamType = ktType.isFunctionalInterfaceType in isSamCompatibleOrKotlinLambda()
297 ktType.isFunctionType || in isSamCompatibleOrKotlinLambda()
298 ktType.isSuspendFunctionType || in isSamCompatibleOrKotlinLambda()
299 ktType.isKFunctionType || in isSamCompatibleOrKotlinLambda()
300 ktType.isKSuspendFunctionType in isSamCompatibleOrKotlinLambda()
DPsiModifierItem.kt153 kotlinTypeInfo.ktType != null && in <lambda>()
154 kotlinTypeInfo.analysisSession.isInheritedGenericType(kotlinTypeInfo.ktType) in <lambda>()