Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 229 for isGetter (0.23 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            then:
            IllegalArgumentException e = thrown()
            e.message == "There's an extension registered with name 'foo'. You should not reassign it via a property setter."
        }
    
        def "can register extensions using dynamic property setter"() {
            when:
            container.foo = extension
    
            then:
            container.findByName('foo') == extension
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/AbstractCompile.java

    import java.io.File;
    
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.GETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.SETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacesEagerProperty.BinaryCompatibility.ACCESSORS_KEPT;
    
    /**
     * The base class for all JVM-based language compilation tasks.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/go/token/token.go

    // is not a digit. Keywords are not identifiers.
    func IsIdentifier(name string) bool {
    	if name == "" || IsKeyword(name) {
    		return false
    	}
    	for i, c := range name {
    		if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) {
    			return false
    		}
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

                result.converted(((TextResource) notation).asFile());
            }
        }
    
        private static boolean isWindowsRootDirectory(String scheme) {
            return scheme.length() == 2 && Character.isLetter(scheme.charAt(0)) && scheme.charAt(1) == ':' && OperatingSystem.current().isWindows();
        }
    
        private static void convertToUrl(String notationString, NotationConvertResult<? super Object> result) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/internal/fuzz/minimize_test.go

    			expected: []any{"00000"},
    		},
    		{
    			name: "string_with_letter",
    			fn: func(e CorpusEntry) error {
    				b := e.Values[0].(string)
    				r, _ := utf8.DecodeRune([]byte(b))
    				if unicode.IsLetter(r) {
    					return fmt.Errorf("bad %v", e.Values[0])
    				}
    				return nil
    			},
    			input:    []any{"ZZZZZ"},
    			expected: []any{"A"},
    		},
    	}
    
    	for _, tc := range cases {
    		tc := tc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassDetails.java

         */
        List<Method> getAllMethods();
    
        /**
         * Returns the non-private instance methods of this class that are not property getter or setter methods.
         * Includes inherited methods.
         */
        Collection<Method> getInstanceMethods();
    
        /**
         * Returns all instance fields of this class. Includes inherited fields.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top