Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,860 for property2 (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

        KotlinLexer().let { lexer ->
            lexer.start(input)
            this(lexer)
        }
    
    
    internal
    class ParserRef<T> {
        operator fun getValue(t: Any?, property: KProperty<*>): Parser<T> =
            ref
    
        operator fun setValue(t: Any?, property: KProperty<*>, value: Parser<T>) {
            parser = value
        }
    
        private
        var parser: Parser<T> = { error("Parser cannot be used while it's being constructed") }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

        }
    
        private fun KaSession.renderProperty(
            property: KProperty<*>,
            printer: PrettyPrinter,
            renderSymbolsFully: Boolean,
            vararg args: Any,
        ) {
            printer.append(property.name).append(": ")
            renderFunctionCall(property.getter, printer, renderSymbolsFully, args)
        }
    
        private fun KaSession.renderFunctionCall(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy

            <profile>
                <id>profile-2</id>
                <activation>
                    <property>
                        <name>${customPropertyName}</name>
                        <value>BLUE</value>
                    </property>
                </activation>
                <properties>
                    <prop2>myproperty2</prop2>
                </properties>
            </profile>
        </profiles>
    </project>
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

         * </p>
         * <p>
         * Values are not allowed to be null.
         * </p>
         *
         * @param name Name of the property
         * @param value Value of the property
         * @since 3.4
         */
        public void property(final String name, final Object value) {
            checkForNullValue(name, value);
            if (DeferredUtil.isDeferred(value)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/InstrumentedMetaClass.java

    /**
     * An implementation of a Groovy MetaClass that is instrumented and might need to cancel some optimizations
     * in order to get the instrumentation to work properly.
     */
    public interface InstrumentedMetaClass {
        /**
         * Checks if accessing a property by the specified name would be intercepted by the instrumentation at this
         * specific moment. The implementation may return different values at different times.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 10:01:06 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        /**
         * Creates a shallow copy of this property. Further changes to this property (via {@code set(...)}, or {@code convention(Object...)}) do not
         * change the copy. However, the copy still reflects changes to the underlying providers that constitute this property. Consider the following snippet:
         * <pre>
         *     def upstream = objects.property(String).value("foo")
         *     def property = objects.property(String).value(upstream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

        ArtifactHandlerScope.of(artifacts).configuration()
    
    
    /**
     * Locates a property on [Project].
     */
    operator fun Project.provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate =
        propertyDelegateFor(serviceOf(), this, property)
    
    
    /**
     * Creates a container for managing named objects of the specified type.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.get() == someValue()
    
            property.set(someOtherValue())
            property.present
            property.get() == someOtherValue()
        }
    
        def "can use null convention value"() {
            def property = propertyWithNoValue()
            assert property.getOrNull() != someValue()
    
            expect:
            nullConvention(property)
    
            !property.present
            property.getOrNull() == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

            and: 'conventions get properly applied'
            // check the conventions in the resolution results, they should be there, and it is independent of the DOM overlay
            def projectEvaluated = project.stepResults.values()[0] as EvaluationResult.Evaluated<AnalysisStepResult>
            projectEvaluated.stepResult.assignmentTrace.resolvedAssignments.entrySet().any {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            where:
            kind       | setExpr         | expr
            "property" | "ext.foo = 1"   | "foo"
            "property" | "ext.foo = 1"   | "hasProperty('foo')"
            "property" | "ext.foo = 1"   | "property('foo')"
            "property" | "ext.foo = 1"   | "findProperty('foo')"
            "property" | "ext.foo = 1"   | "getProperty('foo')"
            "property" | "ext.foo = 1"   | "properties"
            "method"   | "def foo() { }" | "foo()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top