Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for AsmBackedClassGenerator (0.35 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                // Generate
                // if (displayName != null) {
                //     return displayName.getDisplayName()
                // } else if (AsmBackedClassGenerator.getDisplayNameForNext() != null) {
                //     return AsmBackedClassGenerator.getDisplayNameForNext().getDisplayName()
                // } else {
                //     return super.toString()
                // }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

    import static AsmBackedClassGeneratorTest.PrivateInjectBean
    
    class AsmBackedClassGeneratorInjectDecoratedTest extends AbstractClassGeneratorSpec {
        ClassGenerator generator = AsmBackedClassGenerator.decorateAndInject([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), 0)
    
        def "can inject service using @Inject on a getter method with dummy method body"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt

    import org.gradle.api.file.SourceDirectorySet
    import org.gradle.api.internal.ConventionTask
    import org.gradle.api.internal.IConventionAware
    import org.gradle.internal.instantiation.generator.AsmBackedClassGenerator
    import org.gradle.internal.reflect.ClassInspector
    import java.lang.reflect.AccessibleObject
    import java.lang.reflect.Field
    import java.lang.reflect.Modifier.isStatic
    import java.lang.reflect.Modifier.isTransient
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy

            services.get(Number) >> 12
    
            expect:
            def decorated = create(AsmBackedClassGenerator.decorateAndInject([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), 0), BeanWithServiceGetters)
            def undecorated = create(AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(),0), BeanWithServiceGetters)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/support/LazyGroovySupport.java

    import org.gradle.api.provider.Property;
    import org.gradle.internal.instantiation.generator.AsmBackedClassGenerator;
    
    /**
     * An interface used to support lazy assignment for types like {@link Property} and {@link ConfigurableFileCollection} in Groovy DSL.
     * Call to this interface is generated via {@link AsmBackedClassGenerator}.
     */
    public interface LazyGroovySupport {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactory.java

            this.defaultServices = defaultServiceRegistry();
            ClassGenerator injectOnlyGenerator = AsmBackedClassGenerator.injectOnly(injectHandlers, roleAnnotationHandler, ImmutableSet.of(), cacheFactory, MANAGED_FACTORY_ID);
            ClassGenerator decoratedGenerator = AsmBackedClassGenerator.decorateAndInject(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)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiationSchemeTest.groovy

    import spock.lang.Specification
    
    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()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/MixInExtensibleDynamicObject.java

    import org.gradle.internal.metaobject.DynamicObject;
    import org.gradle.internal.service.ServiceLookup;
    
    import javax.annotation.Nullable;
    
    /**
     * Used by extensible instances generated by {@link AsmBackedClassGenerator}.
     */
    public class MixInExtensibleDynamicObject extends ExtensibleDynamicObject {
        // Used by generated code
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingClassGeneratorBackedInstantiatorTest.groovy

    import spock.lang.Specification
    
    import javax.inject.Inject
    
    class DependencyInjectionUsingClassGeneratorBackedInstantiatorTest extends Specification {
        final ClassGenerator classGenerator = AsmBackedClassGenerator.decorateAndInject([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), 0)
        final CrossBuildInMemoryCache cache = new TestCrossBuildInMemoryCacheFactory().newCache()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.instantiation.generator.AsmBackedClassGenerator$ClassBuilderImpl$14> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (AsmBackedClassGenerator.java:0)
    Class <org.gradle.internal.instantiation.generator.AsmBackedClassGenerator$ClassBuilderImpl$15> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (AsmBackedClassGenerator.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