- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for emptyMap (0.29 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt
import java.lang.annotation.ElementType internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> { if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap() checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) { withFirEntry("annotation", annotation)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 9.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
if (typeArguments.isEmpty()) return emptyMap() val typeParameters = partiallyAppliedSymbol.symbol.typeParameters val result = mutableMapOf<KtTypeParameterSymbol, KtType>() for ((parameter, type) in typeArguments) { val ktParameter = typeParameters.getOrNull(parameter.index) ?: return emptyMap() // i.e. we were not able to infer some types
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
} else -> return emptySet() } } private fun KotlinType.toTypeArgumentMapping( envMapping: Map<TypeParameterDescriptor, BoundTypeArgument> = emptyMap() ): TypeArgumentMapping? { val typeParameterOwner = constructor.declarationDescriptor as? ClassifierDescriptorWithTypeParameters ?: return null
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
KtSimpleVariableAccess.Read ) } else { KtCompoundVariableAccessCall( variablePartiallyAppliedSymbol, fir.unwrapLValue()?.toTypeArgumentsMapping(variablePartiallyAppliedSymbol) ?: emptyMap(),
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1)