- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for delegated (0.24 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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/configuration/ScriptPluginFactorySelector.java
/** * Selects a {@link ScriptPluginFactory} suitable for handling a given build script based * on its file name. Build script file names ending in ".gradle" are supported by the * {@link DefaultScriptPluginFactory}. Other files are delegated to the first available * matching implementation of the {@link ScriptingLanguage} SPI. If no provider * implementations matches for a given file name, handling falls back to the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 07:44:44 UTC 2024 - 5.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertySetterSymbol.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 - 5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromKotlinDslIntegrationTest.groovy
fixture.assertStateStored { projectsConfigured(":", ":a", ":b") } } @Issue("https://github.com/gradle/gradle/issues/28204") def "access to #description delegated property value is causing a violation"() { given: settingsFile << """ include("a") """ buildKotlinFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.8K bytes - Viewed (0)