- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Supertype (0.28 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10IntersectionType.kt
for (supertype in supertypes) { val mappedSupertype = if (isNullable) supertype.makeNullable() else supertype result += mappedSupertype.toKtType(analysisContext) } return@cached result } override val nullability: KtTypeNullability get() = withValidityAssertion { fe10Type.ktNullability }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Jan 12 10:48:21 GMT 2023 - 2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubtypingComponent.kt
) } override fun isSubTypeOf(subType: KtType, superType: KtType): Boolean { superType.assertIsValidAndAccessible() check(subType is KtFirType) check(superType is KtFirType) return AbstractTypeChecker.isSubtypeOf( createTypeCheckerContext(), subType.coneType, superType.coneType ) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Jun 22 07:31:36 GMT 2022 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorProvider.kt
fun dfs(symbol: FirClassSymbol<*>) { for (superType in symbol.resolvedSuperTypes) { if (result != null) { return } if (superType !is ConeClassLikeType) continue val superClassSymbol = superType.toRegularClassSymbol(rootModuleSession) ?: continue stack += superType to superClassSymbol
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Oct 06 11:39:33 GMT 2023 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
token, ) } add(FirErrors.QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE) { firDiagnostic -> QualifiedSupertypeExtendedByOtherSupertypeImpl( firSymbolBuilder.buildSymbol(firDiagnostic.a), firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.SUPERTYPE_INITIALIZED_IN_INTERFACE) { firDiagnostic ->
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/utils/KtFe10JvmTypeMapperContext.kt
} } private fun computeSupertypeInternalName(descriptor: ClassDescriptor): String { var interfaceSupertypeInternalName: String? = null for (supertype in descriptor.typeConstructor.supertypes) { val declaration = supertype.constructor.declarationDescriptor ?: continue if (declaration !is ClassDescriptor || declaration.name.isSpecial) { continue }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Mar 10 11:03:45 GMT 2023 - 8.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubtypingComponent.kt
} override fun isSubTypeOf(subType: KtType, superType: KtType): Boolean { require(subType is KtFe10Type) require(superType is KtFe10Type) val typeChecker = analysisContext.resolveSession.kotlinTypeCheckerOfOwnerModule return typeChecker.isSubtypeOf(subType.fe10Type, superType.fe10Type) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Jan 10 12:54:17 GMT 2023 - 1.5K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
if (!visited.add(superTypeName)) continue val superType = typeForInternalName(superTypeName) ?: continue if (superType.delegate.methods.any(matchesMethodNode)) return false superTypeStack.addSuperTypesOf(superType.delegate) } return true } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
while (queue.isNotEmpty()) { val (typeParameterOwner, mapping) = queue.removeFirst() for (superType in typeParameterOwner.typeConstructor.supertypes) { val mappingForSupertype = superType.toTypeArgumentMapping(mapping) ?: continue queue.addLast(mappingForSupertype) }
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/references/FirReferenceResolveHelper.kt
// // We want to resolve to the secondary constructor in A. Therefore, we check that the caret is at a supertype // call entry and if so we resolve the constructor callee expression. val userType = expression.parent as? KtUserType ?: return expression val typeReference = userType.parent as? KtTypeReference ?: return expression
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt
} interface JvmRecordExtendsClass : KtFirDiagnostic<PsiElement> { override val diagnosticClass get() = JvmRecordExtendsClass::class val superType: KtType } interface IllegalJavaLangRecordSupertype : KtFirDiagnostic<PsiElement> { override val diagnosticClass get() = IllegalJavaLangRecordSupertype::class }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 171.1K bytes - Viewed (0)