- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IdentityClassGenerator (0.15 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/IdentityClassGenerator.java
import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; class IdentityClassGenerator implements ClassGenerator { @Override public <T> GeneratedClass<? extends T> generate(final Class<T> type) throws ClassGenerationException { return new GeneratedClass<T>() { @Override
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/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingLenientConstructorSelectorTest.groovy
import spock.lang.Specification class DependencyInjectionUsingLenientConstructorSelectorTest extends Specification { def services = Mock(ServiceLookup) def classGenerator = new IdentityClassGenerator() def instantiator = new DependencyInjectingInstantiator(new ParamsMatchingConstructorSelector(classGenerator), services) def "creates instance that has default constructor"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy
import spock.lang.Specification import javax.inject.Inject class DependencyInjectingInstantiatorTest extends Specification { def services = Mock(ServiceLookup) def classGenerator = new IdentityClassGenerator() def instantiator = new DependencyInjectingInstantiator(new Jsr330ConstructorSelector(classGenerator, new TestCrossBuildInMemoryCacheFactory.TestCache()), services)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 04:41:06 UTC 2024 - 13.2K bytes - Viewed (0)