- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 159 for SETTER (0.13 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNamedTest.groovy
then: registry.realize("foo", NonNamedThing).name == null } @Managed static abstract class NonNamedThingNoSetter { abstract String getName() } def "name requires setter if not named"() { given: registry.registerWithInitializer("bar", NonNamedThingNoSetter, nodeInitializerRegistry) when: registry.realize("bar", NonNamedThingNoSetter) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/VariantAspectExtractionStrategy.java
for (PropertyAccessorExtractionContext accessor : propertyResult.getAccessors()) { if (accessor.isAnnotationPresent(Variant.class)) { if (accessor.getAccessorType() == PropertyAccessorType.SETTER) { throw invalidProperty(extractionContext, property, "@Variant annotation is only allowed on getter methods"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.5K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conditions.go
// Sort keys for deterministic ordering for _, k := range slices.Sort(maps.Keys(conditions)) { cond := conditions[k] setter := kstatus.UpdateConditionIfChanged if cond.setOnce != "" { setter = func(conditions []metav1.Condition, condition metav1.Condition) []metav1.Condition { return kstatus.CreateCondition(conditions, condition, cond.setOnce) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 13:05:41 UTC 2024 - 14.4K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NodePluginsSmokeTest.groovy
(methodShouldNotBeAnnotatedMessage {type('com.moowork.gradle.node.npm.NpmSetupTask').kind('setter').method('setArgs').annotation('Internal').includeLink()}): ERROR, (missingAnnotationMessage { type('com.moowork.gradle.node.yarn.YarnSetupTask').property('args').missingInputOrOutput().includeLink() }): ERROR,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/containingDeclarationProvider/AbstractContainingDeclarationProviderForSetterParameterTest.kt
analyseForTest(context) { declaration -> val propertySymbol = (declaration as KtProperty).getVariableSymbol() as KaPropertySymbol val setterSymbol = propertySymbol.setter!! val setterParameterSymbol = setterSymbol.valueParameters.single() testServices.assertions.assertEquals(propertySymbol, setterSymbol.getContainingSymbol())
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 26 08:05:50 UTC 2023 - 14.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
* (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call. * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined * getter/setter) then this method is not used at all. Instead
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 08:42:45 UTC 2024 - 29.4K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java
return input.getOwner().getAllMethods().stream() .filter(method -> PropertyAccessorType.fromName(method.getName()) == PropertyAccessorType.SETTER) .anyMatch(method -> PropertyAccessorType.SETTER.propertyNameFor(method.getName()).equals(propertyNameFromGetter)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy
'validation:property-validation:nested-type-unsupported' : 'Nested type unsupported', 'validation:property-validation:mutable-type-with-setter' : 'Mutable type with setter', 'validation:property-validation:private-getter-must-not-be-annotated' : 'Private property with wrong annotation',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/log/config.go
func processLevels(allScopes map[string]*Scope, arg string, setter func(*Scope, Level)) error { levels := strings.Split(arg, ",") for _, sl := range levels { s, l, err := convertScopedLevel(sl) if err != nil { return err } if scope, ok := allScopes[s]; ok { setter(scope, l) } else if s == OverrideScopeName { // override replaces everything
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0)