Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,212 for METHOD (0.1 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) {
          testMethod(instance, method);
        }
      }
    
      ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) {
        ImmutableList.Builder<Method> builder = ImmutableList.builder();
        for (Method method : minimalVisibility.getInstanceMethods(c)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            private final String property;
            private final Method method;
            private final Class<F> returnType;
    
            GetterMethodBackedPropertyAccessor(String property, Class<F> returnType, Method method) {
                this.property = property;
                this.method = method;
                this.returnType = returnType;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT);
    
        assertTrue("Subscriber must call provided method", methodCalled);
        assertTrue(
            "Subscriber argument must be exactly the provided object.",
            methodArgument == FIXTURE_ARGUMENT);
      }
    
      public void testInvokeSubscriberMethod_exceptionWrapping() throws Throwable {
        Method method = getTestSubscriberMethod("exceptionThrowingMethod");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
          if (method.getName().equals("toString") && method.getParameterTypes().length == 0) {
            continue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                                "changes": [
                                    "Method has been removed"
                                ]
                            },
                            {
                                "type": "org.gradle.api.file.SourceDirectorySet",
                                "member": "Method org.gradle.api.file.SourceDirectorySet.setOutputDir(java.io.File)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/RelevantMethods.java

            private void addMethod(Method method) {
                if (method.getName().equals("configure")) {
                    if (!method.getReturnType().equals(Void.TYPE)) {
                        throw new ServiceValidationException(String.format("Method %s.%s() must return void.", type.getName(), method.getName()));
                    }
                    add(configurers, method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

            String methodUnderTest = queryMethods.key
            Closure method = bind(queryMethods.value)
    
            when:
            container.named("a").configure(method)
            then:
            noExceptionThrown()
    
            when:
            container.named("a", method)
            then:
            noExceptionThrown()
    
            when:
            container.named("a", getType(), method)
            then:
            noExceptionThrown()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

        }
    
        private static class MethodDetails {
            final int methodId;
            final Method method;
            final Serializer<Object[]> argsSerializer;
    
            MethodDetails(int methodId, Method method, Serializer<Object[]> argsSerializer) {
                this.methodId = methodId;
                this.method = method;
                this.argsSerializer = argsSerializer;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/StructBindingExtractionContext.java

        public void add(WeaklyTypeReferencingMethod<?, ?> method, String problem) {
            add(method.getMethod(), problem);
        }
    
        @Override
        public void add(WeaklyTypeReferencingMethod<?, ?> method, String role, String problem) {
            add(method.getMethod(), role, problem);
        }
    
        @Override
        public void add(Method method, String role, String problem) {
            problems.add(method, role, problem);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top