Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 267 for getStep (0.16 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                applyServiceInjectionToGetter(property, null, getter);
            }
    
            @Override
            public void applyServiceInjectionToGetter(PropertyMetadata property, @Nullable final Class<? extends Annotation> annotation, MethodMetadata getter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java

     * The store implementation can be supplied with a {@link java.util.function.Predicate} to identify generated getters.
     * If the {@code is}-getter is generated, and the {@code get}-getter is not ignored explicitly, then the generated
     * {@code is}-getter is automatically ignored in favor of the {@code get}-getter.
     * </p>
     */
    @ServiceScope(Scope.Global.class)
    public interface TypeAnnotationMetadataStore {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

            @Override
            boolean claimPropertyImplementation(PropertyMetadata property) {
                // Skip properties with non-abstract getter or setter implementations
                for (MethodMetadata getter : property.getters) {
                    if (getter.shouldImplement() && !getter.isAbstract()) {
                        return false;
                    }
                }
                for (Method setter : property.setters) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

            if (spec instanceof Closure) {
                def getter = spec as Closure
                assert getter(actual) == getter(expected)
            } else if (spec instanceof List) {
                assert spec.size() == 2
                def getter = spec[0] as Closure
                def checker = spec[1]
                def actualValue = getter(actual)
                def expectedValue = getter(expected)
                if (checker instanceof Closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy

        }
    
        def "injects service using getter injection"() {
            given:
            services.add(String, "string")
    
            when:
            def result = instantiator.newInstance(HasGetterInjection)
    
            then:
            result.someService == 'string'
        }
    
        def "injects service using abstract getter injection"() {
            given:
            services.add(String, "string")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/namespace.go

    	return func(ctx resource.Context) (err error) {
    		*ns, err = New(ctx, cfg)
    		return
    	}
    }
    
    // Getter for a namespace Instance
    type Getter func() Instance
    
    // Get is a utility method that helps in readability of call sites.
    func (g Getter) Get() Instance {
    	return g()
    }
    
    // Future creates a Getter for a variable that namespace that will be set at sometime in the future.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

        }
    
        def "cannot attach @Inject annotation to non getter method"() {
            when:
            generator.generate(NonGetterInjectBean)
    
            then:
            def e = thrown(ClassGenerationException)
            e.cause.message == "Cannot use @Inject annotation on method NonGetterInjectBean.thing() as it is not a property getter."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { descriptor.isExtension }
    
        override val getter: KaPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = descriptor.getter ?: return KaFe10DescDefaultPropertyGetterSymbol(descriptor, analysisContext)
                return KaFe10DescPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val javaGetterSymbol: KaFunctionSymbol
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top