- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for replaceReceivers (1.42 sec)
-
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt
import org.gradle.internal.declarativedsl.analysis.ObjectOrigin import org.gradle.internal.declarativedsl.analysis.ResolutionResult import org.gradle.internal.declarativedsl.analysis.transformation.OriginReplacement.replaceReceivers import org.gradle.internal.declarativedsl.evaluator.features.ResolutionResultHandler import org.gradle.internal.declarativedsl.evaluator.softwareTypes.SOFTWARE_TYPE_ACCESSOR_PREFIX import java.io.Serializable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:38 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacement.kt
* supplied {@link ObjectOrigin} with the given replacement applied. */ fun replaceReceivers(replaceIn: ObjectOrigin, predicate: (ObjectOrigin.ReceiverOrigin) -> Boolean, replacement: ObjectOrigin.ReceiverOrigin): ObjectOrigin = ReceiverReplacementContext(predicate, replacement).replace(replaceIn) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacementTest.kt
fun resolution(code: String) = schema.resolve(code).also { assertEquals(emptyList(), it.errors) } private fun ResolutionResult.replaceInnerReceiverWithTopLevel(origin: ObjectOrigin) = OriginReplacement.replaceReceivers( origin, { (SchemaTypeRefContext(schema).getDataType(it) as? DataClass)?.name?.simpleName == "InnerReceiver" }, topLevelReceiver ) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:31:36 UTC 2024 - 5.8K bytes - Viewed (0)