- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for have (0.14 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
require(candidates.isNotEmpty()) { "Cannot have zero candidates" } val distinctCandidates = candidates.distinctBy { it.callableId } return distinctCandidates.singleOrNull() ?: errorWithAttachment("Expected all candidates to have same callableId but some of them but was different") {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
// If an element in the array has the same type as the containing array, it's a spread component that needs // to be expanded here. (It should have the array element type instead.) (constantValue as ArrayValue).value.expandArrayAnnotationValue(containingArrayType, analysisContext) } else { listOf(constantValue.toKtAnnotationValue(analysisContext))
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 33.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt
* not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching). * * However, since symbol names providers may not be able to compute name sets per their contract, we may have to fall back to the * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider]. *
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 23 10:55:55 GMT 2024 - 5.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
} if (this is FirImplicitInvokeCall) { // If we have a PSI expression like `Foo.Bar.Baz()` and try to resolve `Bar` part, // and the only FIR that we have for that PSI is an implicit invoke call, that means that // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR.
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt
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) withClassEntry("annotationTypeRef", annotation.annotationTypeRef) @OptIn(UnresolvedExpressionTypeAccess::class)
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.PROPERTY_MUST_HAVE_GETTER) { firDiagnostic -> PropertyMustHaveGetterImpl( firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.PROPERTY_MUST_HAVE_SETTER) { firDiagnostic -> PropertyMustHaveSetterImpl( firDiagnostic as KtPsiDiagnostic,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 208.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescValueParameterSymbol.kt
descriptor.containingDeclaration is AnonymousFunctionDescriptor && descriptor.name == StandardNames.IMPLICIT_LAMBDA_PARAMETER_NAME && // Implicit lambda parameter doesn't have a source PSI. descriptor.source.getPsi() == null && // But, that could be the case for a declaration from Library. Double-check the slice in the binding context
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 3.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
// generated, which requires a container source to be provided. Without a facade class, function IR symbols will have // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering. val psiSourceFile =
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 32.2K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
*/ private val FirFunctionCall.functionReferenceName: Name? get() { toResolvedCallableReference()?.let { return it.name } // unresolved reference has incorrect name, so we have to retrieve it by PSI val wholeCallExpression = realPsi as? KtExpression val callExpression = wholeCallExpression?.getPossiblyQualifiedCallExpression()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt
get() = withValidityAssertion { fe10Type.getContextReceiverTypesFromFunctionType().map { receiverType -> // Context receivers in function types may not have labels, hence the `null` label. KtContextReceiverImpl( receiverType.toKtType(analysisContext), label = null, analysisContext.token, )
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 5.6K bytes - Viewed (0)