Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for GroovyObject (0.21 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoaderTest.groovy

                ClasspathUtil.getClasspathForClass(ActorFactory.class),
                ClasspathUtil.getClasspathForClass(Logger.class),
                ClasspathUtil.getClasspathForClass(GroovyObject.class),
                ClasspathUtil.getClasspathForClass(GradleVersion.class))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java

     *
     * <p>Mixes GroovyObject into certain types.</p>
     * <p>Generates empty interfaces for certain types that have been removed, but which are baked into the bytecode generated by the Groovy compiler.</p>
     */
    public class MixInLegacyTypesClassLoader extends TransformingClassLoader {
        private static final Type GROOVY_OBJECT_TYPE = Type.getType(GroovyObject.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            assertTrue(bean instanceof GroovyObject);
            GroovyObject groovyObject = (GroovyObject) bean;
            assertThat(groovyObject.getMetaClass(), notNullValue());
    
            groovyObject.setProperty("prop", "value");
            assertThat(bean.getProp(), equalTo("value"));
            assertThat(groovyObject.getProperty("prop"), equalTo((Object) "value"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            isolated.isolate() == Type1.TWO
        }
    
        def "can coerce enum value"() {
            def loader = new GroovyClassLoader(getClass().getClassLoader().parent)
            loader.addURL(ClasspathUtil.getClasspathForClass(GroovyObject).toURI().toURL())
            def cl = loader.parseClass("package ${Type1.package.name}; enum Type1 { TWO, THREE } ")
            assert cl != Type1
            assert cl.name == Type1.name
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PluginBinaryCompatibilityCrossVersionSpec.groovy

                        c.sourceCompatibility = 1.8
                        println c.sourceCompatibility
                        c.manifest { }
    
                        GroovyObject o = p.convention.plugins.java
                        o.sourceCompatibility = 1.7
                        println o.sourceCompatibility
                        o.manifest { }
    
                        def d = p.convention.plugins.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/InspectionSchemeFactoryTest.groovy

        def typeAnnotationMetadataStore = new DefaultTypeAnnotationMetadataStore(
            [],
            [(Thing1): TYPE, (Thing2): TYPE],
            ["java", "groovy"],
            [],
            [Object, GroovyObject],
            [ConfigurableFileCollection, Property],
            [IgnoredThing],
            { false },
            cacheFactory
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGlobalServices.java

     * limitations under the License.
     */
    package org.gradle.internal.service.scopes;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.ImmutableSet;
    import groovy.lang.GroovyObject;
    import groovy.transform.Generated;
    import org.gradle.api.Describable;
    import org.gradle.api.artifacts.transform.CacheableTransform;
    import org.gradle.api.artifacts.transform.InputArtifact;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

    class ModelSchemaUtilsTest extends Specification {
        def "base object types have no candidate methods"() {
            expect:
            ModelSchemaUtils.getCandidateMethods(Object).isEmpty()
            ModelSchemaUtils.getCandidateMethods(GroovyObject).isEmpty()
        }
    
        class Base {
            @Incubating
            Object doSomething() { null }
        }
    
        class Child extends Base implements Serializable {
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy

            [ThisIsAThing],
            [(TestNested): TYPE, (Long): TYPE, (Short): TYPE, (Tint): Modifiers.COLOR],
            ["java", "groovy"],
            [Object],
            [Object, GroovyObject],
            [],
            [Ignored, AlsoIgnored],
            { Method method -> method.isAnnotationPresent(Generated) },
            TestCrossBuildInMemoryCacheFactory.instance()
        )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy

        def typeAnnotationMetadataStore = new DefaultTypeAnnotationMetadataStore(
            [],
            [:],
            ["java", "groovy"],
            [],
            [Object, GroovyObject],
            [ConfigurableFileCollection, Property],
            [Internal],
            { false },
            cacheFactory
        )
        def propertyHandlers = [new NoOpPropertyAnnotationHandler(Internal)]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top