Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,421 for METHOD (0.1 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy

        def "serializes a method invocation with parameters"() {
            def method = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE)
            def invocation = new MethodInvocation(method, [1, 2] as Object[])
    
            when:
            def serialized = serialize(invocation)
            def result = deserialize(serialized)
    
            then:
            result.method == method
            result.arguments == [1, 2] as Object[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy

            new RuleSourceWithDifferentSubjectType()  | [ "Method theRule(java.util.List<java.lang.Integer>) is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
            new RuleSourceWithNoSubject()             | [ "Method theRule() is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
                System.err.println("Method failed: " + method.getStatusLine());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
                System.err.println("Method failed: " + method.getStatusLine());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/public-api-mutable-file-collection.txt

    Method <org.gradle.api.plugins.quality.PmdExtension.getRuleSetFiles()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (PmdExtension.java:0)
    Method <org.gradle.api.tasks.SourceSet.getAnnotationProcessorPath()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (SourceSet.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGListenerAdapterFactory.java

                T listenerCast = listenerType.cast(listener);
                JavaMethod<T, R> javaMethod = JavaMethod.of(listenerType, returnType, method.getName(), method.getParameterTypes());
                return javaMethod.invoke(listenerCast, args);
            }
    
            private boolean proxyEquals(Object proxy, Object other) {
                if (other == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/compilerPluginUsage.txt

        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Bar Bar
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
    }
    
    public class CodeFragment$run$Foo {
        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
        public method call(): void
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 707 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/GroovyMethods.java

                    Arrays.asList(GroovyObject.class.getMethods())
                ), new Function<Method, Equivalence.Wrapper<Method>>() {
                    @Override
                    public Equivalence.Wrapper<Method> apply(@Nullable Method input) {
                        return SIGNATURE_EQUIVALENCE.wrap(input);
                    }
                }
            )
        );
    
        /**
         * Is defined by Object or GroovyObject?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractorTest.groovy

            when:
            extract(ruleMethod)
    
            then:
            def ex = thrown(InvalidModelRuleDeclarationException)
            ex.message == """Type ${fullyQualifiedNameOf(ruleClass)} is not a valid rule source:
    - Method ${ruleDescription} is not a valid rule method: A method annotated with @BinaryTasks must have void return type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutableClassDetails.java

            }
            return property;
        }
    
        void superType(Class<?> type) {
            superTypes.add(type);
        }
    
        void method(Method method) {
            methods.add(method);
        }
    
        void instanceMethod(Method method) {
            instanceMethods.add(method);
        }
    
        MutablePropertyDetails property(String propertyName) {
            MutablePropertyDetails property = properties.get(propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top