Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pickMethod (0.18 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

        }
    
        def 'successive pickMethod invocations in the entry point scope return the intercepted method'() {
            when:
            def method1 = null
            def method2 = null
            withEntryPoint(INVOKE_METHOD, "test") {
                method1 = instance.metaClass.pickMethod("test", new Class[]{})
                method2 = instance.metaClass.pickMethod("test", new Class[]{InterceptorTestReceiver})
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java

        }
    
        @Override
        public MetaMethod pickMethod(String methodName, Class[] arguments) {
            String matchedCaller = callsTracker.findCallerForCurrentCallIfNotIntercepted(methodName, INVOKE_METHOD);
            MetaMethod original = adaptee.pickMethod(methodName, arguments);
    
            if (matchedCaller != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

            }
    
            @Nullable
            protected MetaMethod lookupMethod(MetaClass metaClass, String name, Class[] arguments) {
                return metaClass.pickMethod(name, arguments);
            }
    
            protected DynamicInvokeResult invokeOpaqueMethod(MetaClass metaClass, String name, Object[] arguments) {
                MetaMethod methodMissingMethod = findMethodMissingMethod(metaClass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ArchiveTaskPermissionsIntegrationTest.groovy

                mode = 0753
                file('reference.txt').mode = 0762
            }
            def archName = "test.${taskName.toLowerCase()}"
            testDir.usingNativeTools()."$packMethod"(file(archName))
            and:
            buildFile << """
                task unpack(type: Copy) {
                    from $treeMethod("$archName")
                    into 'unpacked'
                }
                """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top