Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for _Decorated (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/CallInterceptor.java

    import java.lang.invoke.MethodHandles;
    import java.util.Set;
    
    /**
     * Intercepts method and constructor calls as well as property reads in dynamic Groovy bytecode.
     * <p>
     * The interceptor serves as a factory for decorated Groovy {@link CallSite} instances.
     * These instances replace original CallSites where the calls are to be intercepted.
     * <p>
     * Descendants of this class should be thread-safe, making a stateless implementation is perfect.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java

         * </ul>
         *
         * <p>An interface, if provided, must not define or inherit any other methods.</p>
         *
         * <p>Objects created using this method are not decorated or extensible.</p>
         *
         * @throws ObjectInstantiationException On failure to create the new instance.
         * @since 4.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/configuration/internal/DefaultListenerBuildOperationDecorator.java

            if (application == null || action instanceof InternalListener) {
                return action;
            }
            Action<T> decorated = application.reapplyLater(action);
            return new BuildOperationEmittingAction<>(application.getId(), registrationPoint, decorated);
        }
    
        @Override
        public <T> Closure<T> decorate(String registrationPoint, Closure<T> closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/plugins/DslObject.java

    import static org.gradle.internal.Cast.uncheckedCast;
    
    /**
     * Provides a unified, typed, interface to an enhanced DSL object.
     *
     * This is intended to be used with objects that have been decorated by the class generator.
     * <p>
     * Accessing each “aspect” of a DSL object may fail (with an {@link IllegalStateException}) if the DSL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

                JarEntry classEntry = jarFile.getJarEntry(classNameToPath(className));
                if (classEntry == null) {
                    // This can happen if the class was "injected" into the classloader, e.g. when decorated class is generated by the ObjectFactory.
                    // Injected classes reuse the protection domain. See ClassLoaderUtils.define and defineDecorator.
                    return null;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

                objects.newInstance(Thing)
    """
    
            expect:
            fails()
            failure.assertHasCause("Could not create an instance of type Thing.")
            failure.assertHasCause("Could not generate a decorated class for type Thing.")
            failure.assertHasCause("Cannot have abstract method Thing.getProp().")
        }
    
        def "services are injected into instances using constructor or getter"() {
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AnnotationProcessingCompileTask.java

    /**
     * Wraps another {@link JavaCompiler.CompilationTask} and sets up its annotation processors
     * according to the provided processor declarations and processor path. Incremental processors
     * are decorated in order to validate their behavior.
     *
     * This class also serves a purpose when incremental annotation processing is not active.
     * It replaces the normal processor discovery, which suffers from file descriptor leaks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:42:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/doc/c4/C4_3_Component.puml

            Container_Boundary(provider, "Kotlin DSL Provider") {
    
                Component(gradleKotlinDslApi, "Generated `gradleKotlinDslApi()` API JAR", "The Gradle Kotlin DSL API & Kotlin decorated gradleApi()")
    
                Component(providerFactory, "Gradle ScriptPluginFactory", "Provides script evaluation to Gradle, main entry point")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutions.java

            @Override
            protected void addSubstitution(Action<? super DependencySubstitution> rule, boolean projectInvolved) {
                CompositeBuildSubstitutionAction decorated = new CompositeBuildSubstitutionAction(rule, build);
                super.addSubstitution(decorated, projectInvolved);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

            }
        }
    
        private Try<T> instantiate() {
            // TODO - extract some shared infrastructure to take care of instantiation (eg which services are visible, strict vs lenient, decorated or not?)
            // TODO - should hold the project lock to do the isolation. Should work the same way as artifact transforms (a work node does the isolation, etc)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top