Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAllSuperTypes (0.21 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/DiTest.java

    import org.apache.maven.internal.impl.ExtensibleEnumRegistries;
    import org.junit.jupiter.api.Test;
    
    class DiTest {
    
        @Test
        void testGenerics() {
            Set<Type> types = Types.getAllSuperTypes(ExtensibleEnumRegistries.DefaultPathScopeRegistry.class);
    
            Injector injector = Injector.create();
            injector.bindImplicit(ExtensibleEnumRegistries.DefaultPathScopeRegistry.class);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            return TypeUtils.getImmediateSupertypes(type.fe10Type).map { it.toKtType(analysisContext) }
        }
    
        override fun getAllSuperTypes(type: KtType, shouldApproximate: Boolean): List<KtType> {
            require(type is KtFe10Type)
            return TypeUtils.getAllSupertypes(type.fe10Type).map { it.toKtType(analysisContext) }
        }
    
        override fun getDispatchReceiverType(symbol: KtCallableSymbol): KtType? {
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    ) ?: type
                } else {
                    type
                }.withNullability(nullability, session.typeContext)
            }
        }
    
        override fun getAllSuperTypes(type: KtType, shouldApproximate: Boolean): List<KtType> {
            require(type is KtFirType)
            return listOf(type.coneType)
                .bfs { it.getDirectSuperTypes(shouldApproximate).iterator() }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top