Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getDeclaredMethod (0.08 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

        @Test
        void testExtractProjectIdFallback() throws Exception {
            // Use reflection to access the private extractProjectId method
            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
            extractProjectIdMethod.setAccessible(true);
    
            // Create a mock ModelBuilderResult with null effectiveModel but available rawModel
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("privateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(
                VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("protectedMethod")));
        assertTrue(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          // private TrustAnchor findTrustAnchorByIssuerAndSignature(X509Certificate lastCert);
          val method =
            trustManager.javaClass.getDeclaredMethod(
              "findTrustAnchorByIssuerAndSignature",
              X509Certificate::class.java,
            )
          method.isAccessible = true
          CustomTrustRootIndex(trustManager, method)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. 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);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            genericType.getType());
      }
    
      public void testToGenericType_staticMemberClass() throws Exception {
        Method getStaticAnonymousClassMethod =
            TypeTokenTest.class.getDeclaredMethod("getStaticAnonymousClass", Object.class);
        ParameterizedType javacReturnType =
            (ParameterizedType) getStaticAnonymousClassMethod.getGenericReturnType();
    
        ParameterizedType parameterizedType =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertThat(generator.generateFresh(Currency.class)).isNotNull();
      }
    
      public void testNulls() throws Exception {
        new ClassSanityTester()
            .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls"))
            .testNulls(FreshValueGenerator.class);
      }
    
      private static void assertFreshInstances(Class<?>... types) {
        for (Class<?> type : types) {
          assertFreshInstance(type, 2);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.4K bytes
    - Click Count (0)
Back to Top