Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for GroovyObject (0.32 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtils.java

    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Multimaps;
    import com.google.common.collect.Ordering;
    import groovy.lang.GroovyObject;
    import org.gradle.internal.reflect.GroovyMethods;
    import org.gradle.internal.reflect.Types.TypeVisitResult;
    import org.gradle.internal.reflect.Types.TypeVisitor;
    import org.gradle.model.Managed;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 15:03:49 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyDynamicDispatchInterceptors.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.classpath.declarations;
    
    import groovy.lang.GroovyObject;
    import org.codehaus.groovy.runtime.ScriptBytecodeAdapter;
    import org.gradle.api.NonNullApi;
    import org.gradle.internal.classpath.InstrumentedClosuresHelper;
    import org.gradle.internal.classpath.intercept.AbstractInvocation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/kotlinDsl/interoperability-groovy-builder/kotlin/build.gradle.kts

        fun another(map: Map<String, *>) {}
    }
    
    
    val target = TargetType()
    val aReference = ""
    
    // tag::withGroovyBuilder[]
    target.withGroovyBuilder {                                          // <1>
    
        // GroovyObject methods available                               // <2>
        if (hasProperty("foo")) { /*...*/ }
        val foo = getProperty("foo")
        setProperty("foo", "bar")
        invokeMethod("name", arrayOf("parameters", 42, aReference))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 925 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java

     */
    
    package org.gradle.model.internal.type;
    
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Ordering;
    import groovy.lang.GroovyObject;
    import org.gradle.model.ModelMap;
    import org.gradle.model.ModelSet;
    
    import java.util.ArrayDeque;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Queue;
    import java.util.Set;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GroovyInteroperabilityIntegrationTest.kt

    import org.gradle.kotlin.dsl.fixtures.AbstractKotlinIntegrationTest
    import org.junit.Test
    
    
    class GroovyInteroperabilityIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `can call GroovyObject methods in withGroovyBuilder`() {
            withDefaultSettings()
    
            withFile(
                "groovy.gradle",
                """
                class MyExtension {
                    String server = 'default'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/GroovyStackTraceSpec.java

                        + "|org.codehaus.groovy\\..*MetaClass.*"
                        + "|groovy\\..*MetaClass.*"
                        + "|groovy.lang.MetaMethod"
                        + "|groovy.lang.GroovyObject"
                        + "|java.lang.reflect\\..*"
                        + "|sun.reflect\\..*"
                        + "|jdk.internal.reflect\\..*"
                        + "|org.codehaus.groovy.vmplugin\\..*"
        );
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top