Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for _Decorated (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginInstantiator.java

    import org.gradle.internal.reflect.Instantiator;
    
    import java.lang.reflect.Modifier;
    
    /**
     * An instantiator that uses the correct instantiation scheme depending on the plugin type.  This allows
     * us to use a decorated instantiator for types that need it (such as software type plugins) and continue
     * using the injected instantiator for types that do not need it (such as plugin types marked as final).
     */
    @NonNullApi
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy

        def buildOperationScriptPlugin = new BuildOperationScriptPlugin(decoratedScriptPlugin, buildOperationRunner, userCodeApplicationContext)
        def target = "Test Target"
    
        def "delegates to decorated script plugin via build operation"() {
            when:
            buildOperationScriptPlugin.apply(target)
    
            then:
            2 * scriptSource.getResource() >> scriptSourceResource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/ide/problems-api/src/test/groovy/org/gradle/internal/code/DefaultUserCodeApplicationContextTest.groovy

            def action = Mock(Action)
            def deferred = Mock(Action)
            def id1
            def decorated
    
            when:
            context.apply(source, action)
    
            then:
            1 * action.execute(_) >> { UserCodeApplicationId id ->
                id1 = id
                decorated = context.current().reapplyLater(deferred)
            }
            0 * deferred._
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 27 13:19:04 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/AbstractCallInterceptor.java

            MethodHandle spreader = original.asSpreader(Object[].class, original.type().parameterCount());
            MethodHandle decorated = MethodHandles.insertArguments(INTERCEPTOR, 0, this, spreader, flags, caller.lookupClass().getName());
            return decorated.asCollector(Object[].class, original.type().parameterCount()).asType(original.type());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                session = verbose;
            }
    
            for (RepositorySessionDecorator decorator : decorators) {
                RepositorySystemSession decorated = decorator.decorate(project, session);
                if (decorated != null) {
                    session = decorated;
                }
            }
    
            CollectRequest collect = new CollectRequest();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

             * </ul>
             *
             * Because of it doing so, our decorated call site is removed from the dynamic invocation code path, and we lose the ability to track dynamic call entry points. <p>
             *
             * To fix that, we store the optimized call site that the Groovy runtime created (and we delegate to it in subsequent calls), and we put a reference to our
             * decorated call site back into the call site array.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

     *
     * This type is not thread-safe.
     *
     * Consider using {@link org.gradle.internal.ImmutableActionSet} instead of this.
     *
     * Implements {@link InternalListener} as components themselves should be decorated if appropriate.
     */
    public class MutableActionSet<T> implements Action<T>, InternalListener {
        private ImmutableActionSet<T> actions = ImmutableActionSet.empty();
    
        public void add(Action<? super T> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

            buildFile << """
                // prevent windows resource and cpp compile tasks from running in parallel
                // this is because we don't want the cpp compile tasks to accidentally use 
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CppCompile) { mustRunAfter tasks.withType(WindowsResourceCompile) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top