- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for generic (5.82 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
return when (this) { KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
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/KtFirPsiTypeProvider.kt
return when (this) { KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS
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/symbols/descriptorBased/base/Kt1DescUtils.kt
if (descriptor is TypeAliasDescriptor) { descriptor = descriptor.classDescriptor } if (descriptor !is ClassDescriptor) { return null } // Generic non-array class literals are not supported in K1 val typeArguments = descriptor.typeConstructor.parameters.map { StarProjectionImpl(it) }
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/components/KtFirReferenceShortener.kt
* (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]). * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but * [KtNameReferenceExpression]. */ private val FirResolvedTypeRef.correspondingTypePsi: KtUserType? get() {
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
function: FirSimpleFunction, other: FirLiteralExpression<*> ): FirLiteralExpression<*>? { if (value == null || other.value == null) return null // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type. val rightType = when { function.symbol.callableId.isStringEquals -> CompileTimeType.ANY
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-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java
@TestDataPath("$PROJECT_ROOT") public class Generics { @Test public void testAllFilesPresentInGenerics() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/referenceResolve/kDoc/extensions/generics"), Pattern.compile("^([^.]+)\\.kt$"), null, true); }
Java - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Sat Apr 13 09:17:40 GMT 2024 - 129.5K bytes - Viewed (0) -
ChangeLog.md
- [`KT-58618`](https://youtrack.jetbrains.com/issue/KT-58618) K2: Local property delegates cannot infer generic return type - [`KT-36770`](https://youtrack.jetbrains.com/issue/KT-36770) Prohibit unsafe calls with expected `@NotNull` T and given Kotlin generic parameter with nullable bound - [`KT-56739`](https://youtrack.jetbrains.com/issue/KT-56739) K2: build Space iOS
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Dec 21 17:48:12 GMT 2023 - 268.7K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.GENERIC_THROWABLE_SUBCLASS) { firDiagnostic -> GenericThrowableSubclassImpl( firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.INNER_CLASS_OF_GENERIC_THROWABLE_SUBCLASS) { firDiagnostic -> InnerClassOfGenericThrowableSubclassImpl(
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt
* provides symbol names from binary libraries in Standalone mode, which the Standalone declaration provider does not contain (to avoid * stub-indexing binary libraries). And in general, querying the symbol names provider might be faster since its sets are cached, which is * not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching). *
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/references/FirReferenceResolveHelper.kt
qualifier: KtSimpleNameExpression, wholeTypeFir: FirResolvedTypeRef ): ClassId? { val qualifierToResolve = qualifier.parent as KtUserType // FIXME make it work with generics in functional types (like () -> AA.BB<CC, AA.DD>) val wholeType = when (val psi = wholeTypeFir.psi) { is KtUserType -> psi is KtTypeReference -> psi.typeElement?.unwrapNullability() as? KtUserType
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Apr 15 10:59:01 GMT 2024 - 37.5K bytes - Viewed (0)