Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for GroovyObject (0.29 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/type/ModelTypesTest.groovy

            where:
            types             | closed
            [Integer]         | typeHierarchyForInteger
            [Integer, Double] | typeHierarchyForInteger + typeHierarchyForDouble
            [Object]          | []
            [GroovyObject]    | []
        }
    
        static def getTypeHierarchyForDouble() {
            return maybeWithJava12ConstantTypes([Double, Number, Comparable, Serializable])
        }
    
        static def getTypeHierarchyForInteger() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/LegacyTypesSupport.java

     */
    @ServiceScope(Scope.Global.class)
    public interface LegacyTypesSupport {
    
        /**
         * Returns a set of classes that require {@link groovy.lang.GroovyObject} to be mixed in.
         */
        Set<String> getClassesToMixInGroovyObject();
    
        /**
         * Returns a set of types that have been removed, but which are baked into the bytecode
         * generated by the Groovy compiler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultAntBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.project;
    
    import com.google.common.collect.Sets;
    import groovy.lang.GroovyObject;
    import groovy.lang.MissingPropertyException;
    import groovy.util.ObservableMap;
    import org.apache.tools.ant.MagicNames;
    import org.apache.tools.ant.ProjectHelper;
    import org.apache.tools.ant.PropertyHelper;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java

    import com.google.common.cache.CacheBuilder;
    import com.google.common.cache.CacheLoader;
    import com.google.common.cache.LoadingCache;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import groovy.lang.GroovyObject;
    import org.gradle.api.GradleException;
    import org.gradle.api.Named;
    import org.gradle.api.reflect.ObjectInstantiationException;
    import org.gradle.cache.internal.CrossBuildInMemoryCache;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top