- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 468 for delegated (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt
import org.hamcrest.MatcherAssert.assertThat import org.junit.Assert.fail import org.junit.Test class DelegatedGradlePropertiesExtensionsTest { @Test fun `non-nullable delegated property access of existing non-null gradle property`() { withMockForSettings(existing = "p" to 42) { val p: Int by settings assertThat(p, equalTo(42)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 15:44:53 UTC 2024 - 8.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatedMemberScope.kt
return super.getCallableSymbols(nameFilter).filter { it.origin == KaSymbolOrigin.DELEGATED } } override fun getCallableSymbols(names: Collection<Name>): Sequence<KaCallableSymbol> = withValidityAssertion { return super.getCallableSymbols(names).filter { it.origin == KaSymbolOrigin.DELEGATED } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy
access.listModuleVersions(dependency, result) then: 'work is delegated' 1 * delegate.listModuleVersions(dependency, result) when: 'exception is thrown in resolution' repositoryBlacklister.getDisabledReason(REPOSITORY_ID) >> Optional.of(exception) effectiveRetries * delegate.listModuleVersions(dependency, result) >> { throw exception }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt
if (isEmpty()) return // One of the compiler lowerings, namely `PropertyReferenceLowering`, // optimizes usages of property references in some cases, // and if a containing delegated property accessor is inline, // it might need this accessor's bytecode. // // If an accessor function is defined in a different module, // IDE tries to acquire its bytecode via the index, however,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSymbol.kt
FirDeclarationOrigin.Enhancement, FirDeclarationOrigin.RenamedForOverride -> javaOriginBasedOnSessionKind() FirDeclarationOrigin.IntersectionOverride -> KaSymbolOrigin.INTERSECTION_OVERRIDE FirDeclarationOrigin.Delegated -> KaSymbolOrigin.DELEGATED FirDeclarationOrigin.Synthetic.FakeHiddenInPreparationForNewJdk -> KaSymbolOrigin.LIBRARY is FirDeclarationOrigin.Synthetic -> { when {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 09:36:27 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/project_properties.adoc
include::sample[dir="snippets/tutorial/projectProperties/groovy",files="build.gradle[tags=configuration]"] ==== [.multi-language-text.lang-kotlin] The link:https://kotlinlang.org/docs/delegated-properties.html[Kotlin delegated properties] are part of the Gradle Kotlin DSL. You need to explicitly specify the type as `String`. If you need to branch depending on the presence of the property, you can also use `String?` and check for `null`.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 10:46:34 UTC 2024 - 3.9K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/bodies/KtRendererBodyMemberScopeProvider.kt
return symbol.getCombinedDeclaredMemberScope().getAllSymbols() .filter { member -> val origin = member.origin origin != KaSymbolOrigin.DELEGATED && origin != KaSymbolOrigin.SOURCE_MEMBER_GENERATED && origin != KaSymbolOrigin.SUBSTITUTION_OVERRIDE &&
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt
override fun toString(): String = "CrossProjectModelAccessProjectEvaluationListener($delegate)" } // region delegated members override fun getPlugins(): PluginContainer = delegate.plugins override fun apply(closure: Closure<*>) = delegate.apply(closure)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 14.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt
} /** * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property. * Otherwise, returns `null` */ override val callableId: CallableId? by cached { val fir = firSymbol.fir if (fir is FirSyntheticPropertyAccessor) { fir.delegate.symbol.callableId } else null }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc
.Using Kotlin delegated properties ==== include::sample[dir="snippets/kotlinDsl/containers-delegated-properties/kotlin",files="build.gradle.kts[tags=delegated-properties]"] ==== <1> Uses the reference to the `myTask1` task rather than a task path [NOTE] ==== The above rely on configuration avoidance APIs.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 20:16:10 UTC 2024 - 55.4K bytes - Viewed (0)