- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 456 for substituted (0.53 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/go/types/subst.go
package types import ( "go/token" ) type substMap map[*TypeParam]Type // makeSubstMap creates a new substitution map mapping tpars[i] to targs[i]. // If targs[i] is nil, tpars[i] is not substituted. func makeSubstMap(tpars []*TypeParam, targs []Type) substMap { assert(len(tpars) == len(targs)) proj := make(substMap, len(tpars)) for i, tpar := range tpars { proj[tpar] = targs[i] } return proj }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11.1K bytes - Viewed (0)