Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,580 for METHOD (0.12 sec)

  1. 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)
  2. 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)
  3. src/net/http/pattern.go

    		}
    	}()
    
    	method, rest, found := s, "", false
    	if i := strings.IndexAny(s, " \t"); i >= 0 {
    		method, rest, found = s[:i], strings.TrimLeft(s[i+1:], " \t"), true
    	}
    	if !found {
    		rest = method
    		method = ""
    	}
    	if method != "" && !validMethod(method) {
    		return nil, fmt.Errorf("invalid method %q", method)
    	}
    	p := &pattern{str: s, method: method}
    
    	if found {
    		off = len(method) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

         * ref: https://github.com/gradle/gradle/issues/16117
         *
         * @param method a candidate method
         * @return true if we suspect this method to be a safely ignorable generated method
         */
        private boolean isIgnoredGeneratedGroovyMethod(Method method) {
            return generatedMethodDetector.test(method) && method.getName().contains("$");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

        final Method method;
    
        MethodInvokable(Method method) {
          super(method);
          this.method = method;
        }
    
        @Override
        @CheckForNull
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          return method.invoke(receiver, args);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.GET, url);
        }
    
        public static CurlRequest post(final String url) {
            return new CurlRequest(Method.POST, url);
        }
    
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        public static CurlRequest delete(final String url) {
            return new CurlRequest(Method.DELETE, url);
        }
    
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/MethodSignature.java

    import java.lang.invoke.MethodType;
    import java.lang.reflect.Method;
    import java.util.Objects;
    
    /**
     * A representation of a method signature. Contains the method name, erased parameter types and erased return type.
     */
    public final class MethodSignature {
        public static MethodSignature from(Method method) {
            return new MethodSignature(method.getName(), MethodType.methodType(
                method.getReturnType(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 16 17:15:11 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top