Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for _Decorated (0.23 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

            buildFile << """
                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c compile tasks to accidentally use
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CCompile) { mustRunAfter tasks.withType(Assemble) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/BuildOperationSettingsProcessorTest.groovy

        def startParameter = Mock(StartParameter)
        def state = Mock(SettingsState)
        def settingsInternal = Mock(SettingsInternal)
        def rootDir = new File("root")
    
        def "delegates to decorated settings processor"() {
            given:
            settings()
    
            when:
            buildOperationScriptPlugin.process(gradleInternal, settingsLocation, classLoaderScope, startParameter)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        /**
         * The rendered HTML release notes that need decoration.
         */
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getHtmlFile();
    
        /**
         * The decorated HTML file
         */
        @OutputFile
        public abstract RegularFileProperty getDestinationFile();
    
        /**
         * JQuery used by the added decoration
         */
        @InputFiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top