Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for UpperBound (0.89 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

            require(this is TypeParameterDescriptor)
    
            for (upperBound in upperBounds) {
                val declaration = upperBound.constructor.declarationDescriptor as? ClassDescriptor ?: continue
                if (declaration.kind != ClassKind.INTERFACE && declaration.kind != ClassKind.ANNOTATION_CLASS) {
                    return upperBound
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KtFlexibleTypeRenderer.kt

                printer {
                    append('(')
                    typeRenderer.renderType(analysisSession, type.lowerBound, printer)
                    append("..")
                    typeRenderer.renderType(analysisSession, type.upperBound, printer)
                    append(')')
                }
            }
        }
    
        public object AS_SHORT : KaFlexibleTypeRenderer {
            override fun renderType(
                analysisSession: KaSession,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FlexibleType.kt

    ) : KaFlexibleType(), KaFe10Type {
        override val lowerBound: KaType
            get() = withValidityAssertion { fe10Type.lowerBound.toKtType(analysisContext) }
    
        override val upperBound: KaType
            get() = withValidityAssertion { fe10Type.upperBound.toKtType(analysisContext) }
    
        override val nullability: KaTypeNullability
            get() = withValidityAssertion { fe10Type.ktNullability }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFlexibleType.kt

        override val lowerBound: KaType get() = withValidityAssertion { builder.typeBuilder.buildKtType(coneType.lowerBound) }
        override val upperBound: KaType get() = withValidityAssertion { builder.typeBuilder.buildKtType(coneType.upperBound) }
        override val annotations: KaAnnotationList by cached {
            KaFirAnnotationListForType.create(coneType, builder)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.index.qual
    org.checkerframework.checker.index.samelen
    org.checkerframework.checker.index.searchindex
    org.checkerframework.checker.index.substringindex
    org.checkerframework.checker.index.upperbound
    org.checkerframework.checker.initialization
    org.checkerframework.checker.initialization.qual
    org.checkerframework.checker.interning
    org.checkerframework.checker.interning.qual
    org.checkerframework.checker.linear
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStrings.kt

            isParameterized ->
                "$parameterizedTypeDefinition<${actualTypeArguments.joinToString(transform = ::kotlinTypeStringFor)}>"
            isWildcard ->
                (upperBound ?: lowerBound)?.let(::kotlinTypeStringFor) ?: "Any"
            else ->
                toString().let { primitiveTypeStrings[it] ?: it }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    /**
     * A flexible type's [abbreviatedType] is always `null`, as only [lowerBound] and [upperBound] may actually be expanded types.
     */
    public abstract class KaFlexibleType : KaType {
        public abstract val lowerBound: KaType
        public abstract val upperBound: KaType
    }
    
    public typealias KtFlexibleType = KaFlexibleType
    
    public abstract class KaIntersectionType : KaType {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

    
    internal
    fun newTypeParameterOf(
        flags: Flags = 0,
        name: String,
        id: Int = 0,
        variance: KmVariance,
        upperBound: KmType,
    ): KmTypeParameter {
        val kmTypeParameter = KmTypeParameter(flags, name, id, variance)
        kmTypeParameter.upperBounds += upperBound
        return kmTypeParameter
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            return when (this) {
                // We also need to collect those on `upperBound` due to nullability.
                is ConeFlexibleType -> lowerBound.getDirectSuperTypes(shouldApproximate) + upperBound.getDirectSuperTypes(shouldApproximate)
                is ConeDefinitelyNotNullType -> original.getDirectSuperTypes(shouldApproximate).map {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

            withValidityAssertion { analysisSession.typeProvider.withNullability(this, newNullability) }
    
        public fun KaType.upperBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.upperBound ?: this }
        public fun KaType.lowerBoundIfFlexible(): KaType = withValidityAssertion { (this as? KaFlexibleType)?.lowerBound ?: this }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top