- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for injectOnly (0.14 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy
import static AsmBackedClassGeneratorTest.BeanWithServiceGetters class AsmBackedClassGeneratorInjectUndecoratedTest extends AbstractClassGeneratorSpec { ClassGenerator generator = AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), 0) def "returns original class when class is not abstract and no service getter methods present"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactory.java
this.annotationHandlers = injectHandlers; this.roleHandler = roleAnnotationHandler; this.defaultServices = defaultServiceRegistry(); ClassGenerator injectOnlyGenerator = AsmBackedClassGenerator.injectOnly(injectHandlers, roleAnnotationHandler, ImmutableSet.of(), cacheFactory, MANAGED_FACTORY_ID);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiationSchemeTest.groovy
import javax.inject.Inject class DefaultInstantiationSchemeTest extends Specification { def cacheFactory = new TestCrossBuildInMemoryCacheFactory() def classGenerator = AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], cacheFactory, 123) def scheme = new DefaultInstantiationScheme( new Jsr330ConstructorSelector(classGenerator, cacheFactory.newClassCache()), classGenerator,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0)