Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 159 for SETTER (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

        }
    
        def 'file permissions can be set via #method'(String method, Closure setter) {
            when:
            spec.caseSensitive = false
            spec.includeEmptyDirs = false
            spec.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
            setter.call(spec, objectFactory)
            spec.filteringCharset = 'UTF8'
    
            then:
            !spec.caseSensitive
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either
     * have a public setter or be backed by an equally named field (of any visibility).
     *
     * @since 3.0
     */
    public interface BeanConfigurator {
    
        /**
         * Performs the specified bean configuration.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top