Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for getDeclaredMethods (0.2 sec)

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

      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       */
      public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) {
        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private static final ImmutableMap<Class<?>, Method> GENERATORS;
    
      static {
        ImmutableMap.Builder<Class<?>, Method> builder = ImmutableMap.builder();
        for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
          if (method.isAnnotationPresent(Generates.class)) {
            builder.put(method.getReturnType(), method);
          }
        }
        GENERATORS = builder.buildOrThrow();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       */
      public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) {
        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
            for (Method method : type.getDeclaredMethods()) {
              if (!method.isSynthetic() && isVisible(method)) {
                builder.add(method);
              }
            }
          }
          return builder.build();
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
            for (Method method : type.getDeclaredMethods()) {
              if (!method.isSynthetic() && isVisible(method)) {
                builder.add(method);
              }
            }
          }
          return builder.build();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
    
        static void verifyConsistentRawType() {
          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    org/junit/internal/MethodSorter.class package org.junit.internal; public synchronized class MethodSorter { public static final java.util.Comparator DEFAULT; public static final java.util.Comparator NAME_ASCENDING; public static reflect.Method[] getDeclaredMethods(Class); private void MethodSorter(); private static java.util.Comparator getSorter(org.junit.FixMethodOrder); static void <clinit>(); } org/junit/internal/Throwables$State$3.class package org.junit.internal; final synchronized enum Throwables$State$3...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
Back to top