Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 229 for isGetter (0.35 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    A mutable managed property is declared using an abstract getter method of type `Property<T>`, where `T` can be any serializable type or a <<#managed_types,fully managed Gradle type>>.
    The property must not have any setter methods.
    
    Here is an example of a task type with an `uri` property of type `URI`:
    
    [source,java]
    .Download.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

    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;
    import static org.gradle.util.internal.CollectionUtils.collect;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java

         * ListProperty[T] -> original type becomes List[T]
         * ConfigurableFileCollection -> original type becomes FileCollection
         */
        Class<?> originalType() default DefaultValue.class;
    
        /**
         * Whether the setter accessor for property was fluent
         */
        boolean fluentSetter() default false;
    
        /**
         * Configuration for binary compatibility check, see {@link BinaryCompatibility}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
     * <p>Different views can declare the same getter with different return types. In such a case the type of the managed property
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. internal/config/dns/operator_dns.go

    	if endpoint == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    		Transport: &http.Transport{
    			Proxy: http.ProxyFromEnvironment,
    			DialContext: (&net.Dialer{
    				Timeout:   3 * time.Second,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

            override val analysisContext: Fe10AnalysisContext
        ) : KaValueParameterSymbol(), KaFe10Symbol {
            val descriptor: ValueParameterDescriptor?
                get() = propertyDescriptor.setter?.valueParameters?.singleOrNull()
    
            override val hasDefaultValue: Boolean
                get() = withValidityAssertion { false }
    
            override val isVararg: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. schema/field_test.go

    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    
    	var f *bool
    	// test setter
    	newValues := map[string]interface{}{
    		"name":       "valuer_and_setter_2",
    		"id":         2,
    		"created_at": time.Now(),
    		"updated_at": nil,
    		"deleted_at": time.Now(),
    		"age":        20,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

                        kind == CallableKindInfo.GROOVY_PROPERTY_GETTER ? "Groovy property getter" :
                            kind == CallableKindInfo.GROOVY_PROPERTY_SETTER ? "Groovy property setter" : null;
        }
    
        public static CodeBlock interceptedCallableLink(CallInterceptionRequest request) {
            CodeBlock.Builder result = CodeBlock.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            then:
            schema instanceof ManagedImplSchema
            def redundant = schema.properties[0]
            assert redundant instanceof ModelProperty
            redundant.getAccessor(PropertyAccessorType.IS_GETTER) != null
            redundant.getAccessor(PropertyAccessorType.GET_GETTER) != null
        }
    
        def "supports a boolean property with an is style getter"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/InterceptScope.java

            return new NamedMemberScope(CallType.GET_PROPERTY, propertyName);
        }
    
        /**
         * The returned scope includes writes of all properties named {@code propertyName}.
         * This scope doesn't include calls to the setter method corresponding to this property,
         * use additional explicit {@link #methodsNamed(String)} scope to intercept that.
         *
         * @param propertyName the name of the property to intercept reads of
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top