- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DataObjectReflection (0.33 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/ReflectionToObjectConverter.kt
fun interface ConversionFilter { fun filterProperties(dataObjectReflection: ObjectReflection.DataObjectReflection): Iterable<DataProperty> companion object { val none = ConversionFilter { dataObjectReflection -> dataObjectReflection.properties.keys } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt
val plugins = (result as DataObjectReflection).properties[pluginsProp]!!.value as DataObjectReflection val kotlinKaptPlugin = plugins.addedObjects .find { val properties = (it as? DataObjectReflection)?.properties ?: error("unexpected object") val id = properties[idProp] ?: error("no id proprety found")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt
import org.gradle.internal.declarativedsl.objectGraph.AssignmentResolver.ExpressionResolutionProgress.Ok sealed interface ObjectReflection { val type: DataType val objectOrigin: ObjectOrigin data class DataObjectReflection( val identity: OperationId, override val type: DataClass, override val objectOrigin: ObjectOrigin, val properties: Map<DataProperty, PropertyValueReflection>,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 10.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt
if (current.type is DataType.StringDataType) "\"${current.value}\"" else current.value.toString() ) is ObjectReflection.DataObjectReflection -> { append(current.type.toString() + (if (current.identity.invocationId != -1L) "#" + current.identity else "") + " ") if (visitedIdentity.add(current.identity)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt
) : ReflectionToObjectConverter { override fun apply(objectReflection: ObjectReflection, conversionFilter: ReflectionToObjectConverter.ConversionFilter) { if (objectReflection is ObjectReflection.DataObjectReflection) { conversionFilter.filterProperties(objectReflection).forEach { property -> val assigned = objectReflection.properties.getValue(property)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 10.6K bytes - Viewed (0)