- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for We (0.17 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
* Helper abstraction to navigate through qualified FIR elements - we have to match [ClassId] and PSI qualifier pair * to correctly reason about long qualifiers. */ private sealed interface TypeQualifier { val referencedClassId: ClassId /** * Type can be imported with alias, and thus can be referenced by the name different from its actual name. *
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
* fun usage(action: String.(Int) -> String) { * "hello".<expr>action</expr>(10) * } * ``` * * The user might want to know the type of the `action` callback. If we always return null for the named references, * we won't be able to handle this request, and just return null. So the user will only be able to see the type * of the whole expression instead, and that is not what he wants. */
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
// Make sure we're not going to expand type argument over and over again. // If so, i.e., if there is a recursive type argument, return the current, non-null [type] // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution. if (type.hasRecursiveTypeArgument()) return type
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
} } private fun KtCallInfo?.toKtCallCandidateInfos(bestCandidateDescriptors: Set<CallableDescriptor>): List<KtCallCandidateInfo> { // TODO: We should prefer to compare symbols instead of descriptors, but we can't do so while symbols are not cached. fun KtCall.isInBestCandidates(): Boolean { val descriptor = this.safeAs<KtFunctionCall<*>>()?.descriptor as? CallableDescriptor
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
// } } // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int. // After computing the compile time constant, we need to adjust its type here. val expression = if (expectedKind != null && expectedKind != kind && value is Number) { val typeAdjustedValue = expectedKind.convertToNumber(value as Number)!!
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt
classBuilderMode = ClassBuilderMode.KAPT3, isParamAssertionsDisabled = false, unifiedNullChecks = true, metadataVersion = metadataVersion, // Technically we should use JvmDefaultMode.ALL_INCOMPATIBLE because Kapt4 always uses `-Xjvm-default=all`, but it would make // the majority of tests fail because metadata of each interface will have a flag set, compared to Kapt3.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 09:19:07 GMT 2024 - 10K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt
if (this == KtReadActionConfinementLifetimeToken::class && KtReadActionConfinementLifetimeToken.allowFromWriteAction.get() && ApplicationManager.getApplication().isWriteAccessAllowed ) { // We must flush modifications to publish local modifications into FIR tree @OptIn(LLFirInternals::class) LLFirDeclarationModificationService.getInstance(project).flushModifications() }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 18 10:43:08 GMT 2024 - 5.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
KtTypeMappingMode.VALUE_PARAMETER -> typeMapper.typeContext.getOptimalModeForValueParameter(type.fe10Type) }.let { typeMappingMode -> // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like: // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Mar 28 16:10:07 GMT 2024 - 6.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// as parentheses for the purpose of this analysis. is KtContainerNode -> // !!!!CAUTION!!!! Not `parentUse(parent.parent, _parent_)` // Here we assume the parent (e.g. If condition) statement // ignores the ContainerNode when accessing child doesParentUseChild(parent.parent, child)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
/** * If we have a property with the same name, avoid dropping qualifiers makes it reference a property with the same name e.g., * package my.component * class foo { .. } // A * .. * fun test() { * val foo = .. // B * my.component.foo::class.java // If we drop `my.component`, it will reference `B` instead of `A`
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)