- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReadOnlyProperty (0.23 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt
import org.jetbrains.kotlin.analysis.api.lifetime.assertIsValidAndAccessible import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty /** * Lazy value that guaranties safe publication and checks validity on every access */ internal class ValidityAwareCachedValue<T>( private val token: KtLifetimeToken, init: () -> T ) : ReadOnlyProperty<Any, T> { private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Aug 15 09:04:58 GMT 2022 - 1.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
PropertyDoc readOnlyProperty = propertyDoc('readOnlyProperty', readable: true, writeable: false) PropertyDoc writeOnlyProperty = propertyDoc('writeOnlyProperty', readable: false, writeable: true) _ * classDoc.classProperties >> [readWriteProperty, readOnlyProperty, writeOnlyProperty] _ * classDoc.classMethods >> []
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 40.8K bytes - Viewed (0)