Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getDeclaredMethods (0.06 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.fingerprint2011(), TQBFJOTLDP, "a714d70f1d569cd0")
              .build();
    
      public void testAllHashFunctionsHaveKnownHashes() throws Exception {
        for (Method method : Hashing.class.getDeclaredMethods()) {
          if (shouldHaveKnownHashes(method)) {
            HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class);
            assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  2. src/test/java/jcifs/SmbSessionTest.java

                assertEquals(4, methods.length, "SmbSession should define exactly 4 methods");
            }
    
            @Test
            @DisplayName("Should have all required method names")
            void shouldHaveAllRequiredMethodNames() {
                java.lang.reflect.Method[] methods = SmbSession.class.getDeclaredMethods();
                java.util.Set<String> methodNames =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.fingerprint2011(), TQBFJOTLDP, "a714d70f1d569cd0")
              .build();
    
      public void testAllHashFunctionsHaveKnownHashes() throws Exception {
        for (Method method : Hashing.class.getDeclaredMethods()) {
          if (shouldHaveKnownHashes(method)) {
            HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class);
            assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

         * not safe.
         */
        concat(
                stream(AbstractFuture.class.getDeclaredMethods()),
                stream(requireNonNull(AbstractFuture.class.getSuperclass()).getDeclaredMethods()))
            .filter(
                m ->
                    m.getName().equals("getDoneValue")
                        || m.getName().equals("casValue")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            // 2. All public methods should be static
            java.lang.reflect.Method[] methods = ThreadDumpUtil.class.getDeclaredMethods();
            for (java.lang.reflect.Method method : methods) {
                if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            // 2. All methods should be static
            java.lang.reflect.Method[] methods = SystemUtil.class.getDeclaredMethods();
            for (java.lang.reflect.Method method : methods) {
                if (!method.isSynthetic()) { // Ignore compiler-generated methods
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Map<MethodIdentifier, Method> identifiers = new HashMap<>();
        for (Class<?> supertype : supertypes) {
          for (Method method : supertype.getDeclaredMethods()) {
            if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
              // TODO(cgdecker): Should check for a generic parameter type and error out
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. 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();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  10. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top