Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,860 for property2 (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     *
     * <p>The managed property represents a property that is able to serve all its declaring view methods. For example, if the view
     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/lifetime/KaLifetimeOwnerField.kt

    @JvmInline
    public value class KaLifetimeOwnerField<T>(public val value: T) : ReadOnlyProperty<KaLifetimeOwner, T> {
        public override fun getValue(thisRef: KaLifetimeOwner, property: KProperty<*>): T {
            return thisRef.withValidityAssertion { value }
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 870 bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/ValidityAwareCachedValue.kt

    import kotlin.properties.ReadOnlyProperty
    import kotlin.reflect.KProperty
    
    /**
     * Lazy value that guaranties safe publication and checks validity on every access
     */
    @JvmInline
    internal value class ValidityAwareCachedValue<T>(
        private val lazyValue: Lazy<T>,
    ) : ReadOnlyProperty<KaLifetimeOwner, T> {
        override fun getValue(thisRef: KaLifetimeOwner, property: KProperty<*>): T {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt

        private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
    
        override fun getValue(thisRef: Any, property: KProperty<*>): T {
            token.assertIsValidAndAccessible()
            return lazyValue.value
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt

                )
        }
    
    
    /**
     * Delegated property getter that locates extensions.
     */
    inline operator fun <reified T : Any> ExtensionContainer.getValue(thisRef: Any?, property: KProperty<*>): T =
        getByName<T>(property.name)
    
    
    /**
     * Adds a new extension to this container.
     *
     * @param T the public type of the added extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadataWalker.java

        /**
         * A factory method for a walker that can visit the property hierarchy of an instance.
         *
         * When visiting a nested property, child properties are discovered using the type of the
         * return property value. This can be a more specific type than the return type of the property's
         * getter method (and can declare additional child properties).
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NodePluginsSmokeTest.groovy

                            (methodShouldNotBeAnnotatedMessage {type('com.moowork.gradle.node.npm.NpmSetupTask').kind('setter').method('setArgs').annotation('Internal').includeLink()}): ERROR,
                            (missingAnnotationMessage { type('com.moowork.gradle.node.yarn.YarnSetupTask').property('args').missingInputOrOutput().includeLink() }): ERROR,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

                    joinTo(this@buildString, separator = "\n  ", prefix = ":\n  ") { property ->
                        val name = property.name
    
                        @Suppress("UNCHECKED_CAST")
                        val value = (property as KProperty1<Any, *>).get(this@with)?.let {
                            if (className == "KaErrorCallInfo" && name == "candidateCalls") {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** `Property` extends the `Provider` interface.
    ** The method link:{javadocPath}/org/gradle/api/provider/Property.html#set-T-[Property.set(T)] specifies a value for the property, overwriting whatever value may have been present.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            readOnlyBean.someValue.toString() == "<display name> property 'someValue'"
            readOnlyBeanWithMapping.someValue.toString() == "<display name> property 'someValue'"
            finalBeanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
            beanWithOverloads.getSomeValue().toString() == "<display name> property 'someValue'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top