Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for getDeclaredMethod (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      private Throwable tryInternalFastPathGetFailure(Future<?> future) throws Exception {
        Method tryInternalFastPathGetFailureMethod =
            abstractFutureClass.getDeclaredMethod("tryInternalFastPathGetFailure");
        tryInternalFastPathGetFailureMethod.setAccessible(true);
        return (Throwable) tryInternalFastPathGetFailureMethod.invoke(future);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

           * trivially, but it's enough to skip these ones.
           */
          ) {
            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      private Throwable tryInternalFastPathGetFailure(Future<?> future) throws Exception {
        Method tryInternalFastPathGetFailureMethod =
            abstractFutureClass.getDeclaredMethod("tryInternalFastPathGetFailure");
        tryInternalFastPathGetFailureMethod.setAccessible(true);
        return (Throwable) tryInternalFastPathGetFailureMethod.invoke(future);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                return null;
            }
        }
    
        private CurlRequest callProtectedRequest(CurlHelper curlHelper, CurlRequest request) {
            try {
                java.lang.reflect.Method method = CurlHelper.class.getDeclaredMethod("request", CurlRequest.class);
                method.setAccessible(true);
                return (CurlRequest) method.invoke(curlHelper, request);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @Test
        void testCreateInfo_AllInformationLevels() throws Exception {
            // Test createInfo private method with all supported levels
            Method createInfoMethod = Trans2QueryFSInformationResponse.class.getDeclaredMethod("createInfo");
            createInfoMethod.setAccessible(true);
    
            // Test SMB_INFO_ALLOCATION
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        Class<?> abstractFutureStateClass = classLoader.loadClass(AbstractFutureState.class.getName());
        Method helperMethod = abstractFutureStateClass.getDeclaredMethod("atomicHelperTypeForTest");
        helperMethod.setAccessible(true);
        assertThat(helperMethod.invoke(null)).isEqualTo(expectedHelperClassName);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                    } else {
                        paramTypes[i] = params[i].getClass();
                    }
                }
                var m = cls.getDeclaredMethod(name, paramTypes);
                m.setAccessible(true);
                return (int) m.invoke(target, params);
            } catch (Exception e) {
                fail("invoke " + name, e);
                return -1;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        private Method getReadStringMethod() throws Exception {
            Class<?> clazz = response.getClass();
            while (clazz != null) {
                try {
                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
                } catch (NoSuchMethodException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        private Method getReadStringMethod() throws Exception {
            Class<?> clazz = response.getClass();
            while (clazz != null) {
                try {
                    Method method = clazz.getDeclaredMethod("readString", byte[].class, int.class, int.class, boolean.class);
                    method.setAccessible(true);
                    return method;
                } catch (NoSuchMethodException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

        }
    
        // Helper method to invoke the private distinct method
        private String[] invokeDistinct(String[] values) {
            try {
                java.lang.reflect.Method method = LdapUser.class.getDeclaredMethod("distinct", String[].class);
                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
            } catch (Exception e) {
                throw new RuntimeException(e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top