Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 282 for substituted (0.22 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationTimeResolveIntegrationTest.groovy

                buildFile << """
                    println "Configured buildC"
                    apply plugin: 'java'
    """
            }
            includedBuilds << buildC
    
        }
    
        def "references but does not build substituted dependency resolved at configuration time"() {
            configurationTimeDependency 'org.test:buildB:1.0'
    
            when:
            execute buildA, ":resolve"
    
            then:
            executed ":resolve"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 27 11:26:43 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencySubstitutions.java

         * configurations.main.resolutionStrategy.dependencySubstitution {
         *   // Substitute project and module dependencies
         *   substitute module('org.gradle:api') using project(':api')
         *   substitute project(':util') using module('org.gradle:util:3.0')
         *
         *   // Substitute one module dependency for another
         *   substitute module('org.gradle:api:2.0') using module('org.gradle:api:2.1')
         * }
         * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 24 20:12:31 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top