Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for valueFactory (0.26 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BuildableBackedProvider.java

        private final Buildable buildable;
        private final Class<T> valueType;
        private final Factory<T> valueFactory;
    
        public BuildableBackedProvider(Buildable buildable, Class<T> valueType, Factory<T> valueFactory) {
            this.buildable = buildable;
            this.valueType = valueType;
            this.valueFactory = valueFactory;
        }
    
        @Nullable
        @Override
        public Class<T> getType() {
            return valueType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlayTest.kt

                * element(adding, [literal(1)], content.size = 2) -> element(NestedReceiver)
                    - literal(1) -> literal
                    * property(b, valueFactory(myInt, [])) -> property(Int)
                        - valueFactory(myInt, []) -> valueFactory
                    * element(unresolved4, [], content.size = 0) -> notResolved(UnresolvedSignature)
                * element(configuring, [], content.size = 4) -> configuring(NestedReceiver)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                """.trimIndent()
            )
    
            assertEquals(
                """
                element(myFun)[0..106]
                    property(a, literal(1)[16..16])[12..16]
                    property(b, valueFactory(f, literal(x)[28..30], valueFactory(z.f, literal(y)[37..39])[35..40])[26..41])[22..41]
                    property(c, literal(true)[51..54])[47..54]
                    element(nested)[60..89]
                        property(x, literal(y)[81..83])[77..83]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DefaultNodeTypes.kt

        override val sourceData: SourceData,
        override val values: List<DeclarativeDocument.ValueNode>
    ) : DeclarativeDocument.ValueNode.ValueFactoryNode {
        override fun toString(): String = "valueFactory($factoryName, [${values.joinToString()}])"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/OverlayRoutedDataContainers.kt

        }
    }
    
    
    internal
    class OverlayRoutedValueDataContainer<DValue, DValueFactory : DValue, DLiteral : DValue>(
        private val overlayOriginContainer: OverlayOriginContainer,
        private val underlay: ValueDataContainer<DValue, DValueFactory, DLiteral>,
        private val overlay: ValueDataContainer<DValue, DValueFactory, DLiteral>
    ) : ValueDataContainer<DValue, DValueFactory, DLiteral> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/data/DocumentDataContainers.kt

    
    interface ValueDataContainer<DValue, DValueFactory : DValue, DLiteral : DValue> {
        fun data(value: DeclarativeDocument.ValueNode): DValue = when (value) {
            is DeclarativeDocument.ValueNode.ValueFactoryNode -> data(value)
            is DeclarativeDocument.ValueNode.LiteralValueNode -> data(value)
        }
    
        fun data(value: DeclarativeDocument.ValueNode.ValueFactoryNode): DValueFactory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top