- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 250 for supertype (0.28 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/superTypes/KtSuperTypesFilter.kt
public fun interface KaSuperTypesFilter { public fun filter(analysisSession: KaSession, superType: KaType, symbol: KaClassOrObjectSymbol): Boolean public object NO_DEFAULT_TYPES : KaSuperTypesFilter { override fun filter(analysisSession: KaSession, superType: KaType, symbol: KaClassOrObjectSymbol): Boolean { with(analysisSession) { if (superType.isAny) { return false }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/types/ExternalPluginsInstrumentationTypeRegistry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 10:00:18 UTC 2024 - 5.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy
PropertyDoc propertyDocA = propertyDoc('a') PropertyDoc propertyDocC = propertyDoc('c') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section> <section><title>Properties</title> <table> <thead><tr><td>Name</td></tr></thead>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToken.java
* * @since 19.0 */ public final boolean isSubtypeOf(Type supertype) { checkNotNull(supertype); if (supertype instanceof WildcardType) { // if 'supertype' is <? super Foo>, 'this' can be: // Foo, SubFoo, <? extends Foo>. // if 'supertype' is <? extends Foo>, nothing is a subtype. return any(((WildcardType) supertype).getLowerBounds()).isSupertypeOf(runtimeType); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt
public fun KaType.isSubTypeOf(superType: KaType): Boolean = withValidityAssertion { analysisSession.subtypingComponent.isSubTypeOf(this, superType, KaSubtypingErrorTypePolicy.STRICT) } public fun KaType.isSubTypeOf(superType: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean = withValidityAssertion { analysisSession.subtypingComponent.isSubTypeOf(this, superType, errorTypePolicy) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* * @since 19.0 */ public final boolean isSubtypeOf(Type supertype) { checkNotNull(supertype); if (supertype instanceof WildcardType) { // if 'supertype' is <? super Foo>, 'this' can be: // Foo, SubFoo, <? extends Foo>. // if 'supertype' is <? extends Foo>, nothing is a subtype. return any(((WildcardType) supertype).getLowerBounds()).isSupertypeOf(runtimeType); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/tasks/InstrumentedSuperTypesMergeTask.kt
val superTypes: Queue<String> = ArrayDeque(directSuperTypes[className] ?: emptySet()) val collected = mutableSetOf<String>() collected.add(className) while (!superTypes.isEmpty()) { val superType = superTypes.poll() if (collected.add(superType)) { superTypes.addAll(directSuperTypes[superType] ?: emptySet()) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 14:00:26 UTC 2024 - 5.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10IntersectionType.kt
override val fe10Type: SimpleType, private val supertypes: Collection<KotlinType>, override val analysisContext: Fe10AnalysisContext ) : KaIntersectionType(), KaFe10Type { override val conjuncts: List<KaType> by cached { val result = ArrayList<KaType>(supertypes.size) val isNullable = fe10Type.isMarkedNullable for (supertype in supertypes) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubtypingComponent.kt
} override fun isSubTypeOf(subType: KaType, superType: KaType, errorTypePolicy: KaSubtypingErrorTypePolicy): Boolean { superType.assertIsValidAndAccessible() check(subType is KaFirType) check(superType is KaFirType) return AbstractTypeChecker.isSubtypeOf( createTypeCheckerContext(errorTypePolicy), subType.coneType, superType.coneType, ) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K 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
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3K bytes - Viewed (0)