Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Supertype (0.17 sec)

  1. 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)
  2. .idea/dictionaries/abreslav.xml

          <w>iterable</w>
          <w>nondeterministic</w>
          <w>nullable</w>
          <w>overridable</w>
          <w>pseudocode</w>
          <w>substitutor</w>
          <w>subtyping</w>
          <w>supertype</w>
          <w>supertypes</w>
          <w>tuple</w>
          <w>unary</w>
        </words>
      </dictionary>
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Jul 09 13:32:24 GMT 2015
    - 500 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtFirDiagnostic.DelegationByInJvmRecord
    
    internal class JvmRecordExtendsClassImpl(
        override val superType: KtType,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtFirDiagnostic.JvmRecordExtendsClass
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
Back to top