Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InjectUtil (0.14 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/InjectUtil.java

     */
    
    package org.gradle.internal.service;
    
    import javax.inject.Inject;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    
    final class InjectUtil {
    
        /**
         * Selects the single injectable constructor for the given type.
         * The type must either have only one public or package-private default constructor,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/InjectUtil.java

    import org.gradle.internal.logging.text.TreeFormatter;
    
    import javax.inject.Inject;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    
    class InjectUtil {
        /**
         * Selects the single injectable constructor for the given type.
         * The type must either have only one public or package-private default constructor,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

                try {
                    validateType(type);
                    ClassGenerator.GeneratedClass<?> implClass = classGenerator.generate(type);
                    ClassGenerator.GeneratedConstructor<?> generatedConstructor = InjectUtil.selectConstructor(implClass, type);
                    return CachedConstructor.of(generatedConstructor);
                } catch (RuntimeException e) {
                    return CachedConstructor.of(e);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                    throw new ServiceValidationException("Cannot register an interface for construction.");
                }
                Constructor<?> match = InjectUtil.selectConstructor(implementationType);
                if (InjectUtil.isPackagePrivate(match.getModifiers()) || Modifier.isPrivate(match.getModifiers())) {
                    match.setAccessible(true);
                }
                this.constructor = match;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.instantiation.generator.InjectUtil> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (InjectUtil.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