Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for transformedClosure (0.99 sec)

  1. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/TransformedClosure.java

    import org.gradle.model.dsl.internal.inputs.PotentialInputs;
    
    import javax.annotation.Nullable;
    
    /**
     * Implemented by transformed rules closure.
     */
    public interface TransformedClosure {
        /**
         * Returns the input references for this closure.
         */
        InputReferences inputReferences();
    
        /**
         * Returns the source location for this closure.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ClosureBackedRuleFactory.java

        }
    
        public <T> DeferredModelAction toAction(final Class<T> subjectType, final Closure<?> closure) {
            final TransformedClosure transformedClosure = (TransformedClosure) closure;
            SourceLocation sourceLocation = ruleLocationExtractor.transform(transformedClosure);
            final ModelRuleDescriptor descriptor = sourceLocation.asDescriptor();
    
            return new DeferredModelAction() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/GroovyDynamicDispatchingInterceptingTest.groovy

            def receiver = new InterceptorTestReceiver()
            def transformedClosure = instrumentedClasses.instrumentedClosure { test() }
            transformedClosure.delegate = receiver
    
            when: "the call site has been hit before"
            transformedClosure()
            receiver.intercepted = null
    
            and: "another call goes through the call site"
            transformedClosure()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

        private static final String GET = "get";
        private static final ClassNode POTENTIAL_INPUTS = new ClassNode(PotentialInputs.class);
        private static final ClassNode TRANSFORMED_CLOSURE = new ClassNode(TransformedClosure.class);
        private static final ClassNode INPUT_REFERENCES = new ClassNode(InputReferences.class);
        private static final ClassNode SOURCE_LOCATION = new ClassNode(SourceLocation.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.model.dsl.internal.transform.TransformedClosure> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TransformedClosure.java:0)
    Class <org.gradle.model.internal.asm.AsmClassGenerator> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (AsmClassGenerator.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top