- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,479 for property2 (0.17 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ManagedFactories.java
} // TODO - should preserve the property type (which may be different to the provider type) ProviderInternal<S> provider = Cast.uncheckedNonnullCast(state); return type.cast(propertyOf(provider.getType(), provider)); } <V> Property<V> propertyOf(Class<V> type, Provider<V> value) { return propertyFactory.property(type).value(value); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/RuntimePropertyResolver.kt
private fun kotlinPropertyGetter(property: KProperty<*>) = DeclarativeRuntimePropertyGetter { property.call(it) } private fun kotlinPropertySetter(property: KMutableProperty<*>) = DeclarativeRuntimePropertySetter { receiver, value -> property.setter.call(receiver, value) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 17:34:03 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt
--inputTrackingDisabledCounterForThread } } private operator fun <T> ThreadLocal<T>.getValue(thisRef: Any?, property: KProperty<*>) = get() private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/ThreadLocalDelegate.kt
import java.util.concurrent.ConcurrentHashMap import kotlin.reflect.KProperty internal class ThreadLocalValue<V : Any>(private val init: () -> V) { private val map = ConcurrentHashMap<Long, V>() @Suppress("NOTHING_TO_INLINE") inline operator fun getValue(thisRef: Any?, property: KProperty<*>): V = map.computeIfAbsent(Thread.currentThread().id) { init() } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Sep 15 09:32:30 UTC 2021 - 766 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.1K bytes - Viewed (0) -
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)