Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 159 for SETTER (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/DefaultConvention.java

            if (extensionsStorage.hasExtension(name)) {
                throw new IllegalArgumentException(
                    format("There's an extension registered with name '%s'. You should not reassign it via a property setter.", name));
            }
        }
    
        private boolean isConfigureExtensionMethod(String name, @Nullable Object[] args) {
            return args.length == 1 &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                            backingField?.findAnnotationTypeRef(annotationEntry)
                                ?: getter?.findAnnotationTypeRef(annotationEntry)
                                ?: setter?.findAnnotationTypeRef(annotationEntry)
                        }
                    } else null
                }
                else -> null
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    [[sec:declaring_task_option]]
    === Step 1. Declare a command-line option
    
    To expose a new command line option for a task property, annotate the corresponding setter method of a property with link:{javadocPath}/org/gradle/api/tasks/options/Option.html[Option]:
    
    ```
    @Option(option = "flag", description = "Sets the flag")
    ```
    
    An option requires a mandatory identifier.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
            val correspondingImport = containingFile.findImportByAlias(it) ?: return@mapType null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    			Controller:         references[i].Controller,
    			BlockOwnerDeletion: references[i].BlockOwnerDeletion,
    		})
    	}
    	if len(references) == 0 {
    		// This is necessary for the test to pass because the setter will make a
    		// non-nil slice.
    		myAPIObject2.ObjectMeta.OwnerReferences = make([]metav1.OwnerReference, 0)
    	}
    	return myAPIObject2, metaOwnerReferences
    }
    
    func testGetOwnerReferences(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    import org.gradle.model.Managed
    
    @Managed
    interface Managed${typeName} {
        ${typeName} get${typeName}()`
        void set${typeName}($typeName arg)
    }
    """)
        }
    
        def "must have a setter - #managedType.simpleName"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
        }
    
        def "can optionally set injected service using a service setter method"() {
            given:
            def services = defaultServices()
    
            when:
            def obj = create(BeanWithMutableServices, services)
            obj.thing = 12
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

                return newValueParameter.orElseThrow(() -> new IllegalArgumentException("a setter interceptor must accept a parameter")).getParameterType();
            } else {
                throw new IllegalArgumentException("expected a property interception request, got " + request);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         *     <li>{@code addJvmArguments(...)} and {@code setJvmArguments(...)}</li>
         *     <li>build scripts</li>
         * </ul>
         * <p>
         * Note: this method has "setter" behavior, so the last invocation will overwrite previously set values.
         *
         * @param systemProperties the system properties add to the Gradle process. Passing {@code null} resets to the default behavior.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top