Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 566 for substituted (0.15 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtCallableSignature.kt

        public val callableIdIfNonLocal: CallableId? get() = callableId
    
        /**
         * Applies a [substitutor] to the given signature and return a new signature with substituted types.
         *
         * @see KaSubstitutor.substitute
         */
        public abstract fun substitute(substitutor: KaSubstitutor): KaCallableSignature<S>
    
        abstract override fun equals(other: Any?): Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSignatureSubstitutor.kt

         *
         * @see KaSubstitutor.substitute
         */
        public fun <S : KaFunctionLikeSymbol> S.substitute(substitutor: KaSubstitutor): KaFunctionLikeSignature<S> =
            withValidityAssertion { analysisSession.signatureSubstitutor.substitute(this, substitutor) }
    
        /**
         * Applies a [substitutor] to the given symbols and return a signature with substituted types.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

        }
    
        def "builds single artifact for substituted dependency"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            when:
            resolveArtifacts()
    
            then:
            executedInOrder ":buildB:jar", ":resolve"
            assertResolved buildB.file('build/libs/buildB-1.0.jar')
        }
    
        def "builds multiple artifacts for substituted dependency"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtSubstitutor.kt

        /**
         * substitutes type parameters in a given type corresponding to internal mapping rules.
         *
         * @return substituted type if there was at least one substitution, [type] itself if there was no type parameter to substitute
         */
        public fun substitute(type: KaType): KaType = withValidityAssertion { substituteOrNull(type) ?: type }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutions.java

                this.selectionReason = selectionReason;
                this.substituted = substituted;
                this.substitute = substitute;
            }
    
            @Override
            public void execute(DependencySubstitution dependencySubstitution) {
                if (substituted.equals(dependencySubstitution.getRequested())) {
                    super.execute(dependencySubstitution);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/README.adoc

    == Buildscript dependencies are substituted
    
    In a composite build, dependencies declared in the `plugins { }` block or in the `buildscript` `classpath` configuration are substituted in the same way as other dependencies. In this sample, the build declares that plugin 'org.sample.greeting', and this dependency is substituted by the `greeting-plugin` included build.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAnalysisApiSubstitutorsTest.kt

            val actual = analyseForTest(declaration) {
                val substitutor = SubstitutionParser.parseSubstitutor(analysisSession, mainFile, declaration)
                val symbol = declaration.getSymbol() as KaCallableSymbol
                val type = symbol.returnType
                val substituted = substitutor.substitute(type)
                val substitutedOrNull = substitutor.substituteOrNull(type)
    
                prettyPrint {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseDependencySubstitutionIntegrationTest.groovy

                substitute module("junit:junit:4.7") using project(":project1")
            }
        }
    }
    """)
    
            def classpath = classpath("project2")
            assert classpath.projects.collect { it.name } == ["project1"]
            assert classpath.libs == []
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "transitive external dependency substituted with project dependency"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureContractsTest.kt

            testServices.assertions.assertEquals(symbol.returnType.let(substitutor::substitute), signature.returnType)
    
            testServices.assertions.assertEquals(symbol.valueParameters.size, signature.valueParameters.size)
    
            for ((unsubstituted, substituted) in symbol.valueParameters.zip(signature.valueParameters)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaDependencySubstitutionIntegrationTest.groovy

        @Rule
        public final TestResources testResources = new TestResources(testDirectoryProvider)
    
        @Test
        @ToBeFixedForConfigurationCache
        void "external dependency substituted with project dependency"() {
            createDirs("project1", "project2")
            runTask("idea", "include 'project1', 'project2'", """
    allprojects {
        apply plugin: "java"
        apply plugin: "idea"
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top