Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getThisObject (0.18 sec)

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

                            // Make a copy of the closure, attach inputs and execute
                            Closure<?> cloned = closure.rehydrate(null, closure.getThisObject(), closure.getThisObject());
                            ((TransformedClosure) cloned).makeRule(new PotentialInputs(modelViews, inputValues), supportsNestedRules ? ClosureBackedRuleFactory.this : null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedGroovyMetaClassHelper.java

            CallInterceptorResolver resolver = ClosureCallInterceptorResolver.of(interceptorFilter);
            addInvocationHooksToMetaClass(closure.getThisObject().getClass(), resolver);
            addInvocationHooksToMetaClass(closure.getOwner().getClass(), resolver);
            addInvocationHooksToMetaClass(closure.getDelegate().getClass(), resolver);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/ConfigureUtil.java

            // Hackery to make closure execution faster, by short-circuiting the expensive property and method lookup on Closure
            Closure withNewOwner = configureClosure.rehydrate(target, closureDelegate, configureClosure.getThisObject());
            new ClosureBackedAction<T>(withNewOwner, Closure.OWNER_ONLY, false).execute(target);
        }
    
        public static class WrappedConfigureAction<T> implements Action<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java

            // Hackery to make closure execution faster, by short-circuiting the expensive property and method lookup on Closure
            Closure withNewOwner = configureClosure.rehydrate(target, closureDelegate, configureClosure.getThisObject());
            new ClosureBackedAction<T>(withNewOwner, Closure.OWNER_ONLY, false).execute(target);
        }
    
        private static void logDeprecation() {
            DeprecationLogger.deprecateType(ConfigureUtil.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/internal/DefaultListenerBuildOperationDecorator.java

            private BuildOperationEmittingClosure(UserCodeApplicationContext.Application application, String registrationPoint, Closure<T> delegate) {
                super(delegate.getOwner(), delegate.getThisObject());
                this.application = application;
                this.delegate = delegate;
                this.registrationPoint = registrationPoint;
            }
    
            @SuppressWarnings("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top