- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for propertyMissing (0.2 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTestHelper.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanWithDynamicProperties.groovy
*/ package org.gradle.internal.metaobject class BeanWithDynamicProperties { String prop Object propertyMissing(String name) { if (name == "dyno") { return "ok" } throw new MissingPropertyException(name, BeanWithDynamicProperties) } void propertyMissing(String name, Object value) { if (name == "dyno") { return }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionAware.java
* * <li>Groovy Meta-programming methods implemented by the object's class, like <code>propertyMissing()</code>. Care must be taken by plugin authors to * ensure <code>propertyMissing()</code> is implemented such that if a property is not found a MissingPropertyException(String, Class) exception is thrown. * If <code>propertyMissing()</code> always returns a value for any property, Gradle will not search the rest of the scopes below.</li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Aug 26 07:18:37 UTC 2022 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanWithMixInProperties.groovy
@Override Map<String, ?> getProperties() { return [dyno: "ok"] } } } Object propertyMissing(String name) { throw new AssertionError("should not be called") } void propertyMissing(String name, Object value) { throw new AssertionError("should not be called") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/WithGroovyMeta.groovy
Object getProperty(String property) { null } @Override Object invokeMethod(String name, Object args) { null } def propertyMissing(String name) { null } def propertyMissing(String name, def value) { } def methodMissing(String name, def args) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiConnector.groovy
connector.searchUpwards(searchUpwards) this } def methodMissing(String name, args) { connector."$name"(*args) } def propertyMissing(String name, value) { connector."$name" = value } def propertyMissing(String name) { connector."$name" } def forProjectDirectory(File projectDir) { connector.forProjectDirectory(projectDir) connector
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SigningProjectSpec.groovy
} def methodMissing(String name, args) { assertProject() project."$name"(*args) } def propertyMissing(String name) { project."$name" } def propertyMissing(String name, value) { project."$name" = value } def applyPlugin() { apply plugin: "signing" } def addProperties(Map props) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapPropertyExtensions.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
def methodMissing(String name, args) { methods[name] = args.toList() } def propertyMissing(String name) { props[name] } def propertyMissing(String name, value) { props[name] = value } } convention.plugins.test = new DynamicThing()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 13.7K bytes - Viewed (0)