Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 198 for reflection (0.83 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

     *       complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly
     *       initialize all possible subscribers at startup time.
     *   <li>It uses reflection in ways that break when code is processed by optimizers/minimizers like
     *       <a href="https://developer.android.com/studio/build/shrink-code">R8 and Proguard</a>.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        new EqualsTester()
            .addEqualityGroup(
                LinkedListMultimap.create(), LinkedListMultimap.create(), LinkedListMultimap.create(1))
            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayTable.java

       *
       * <p>Subsequent table changes will not modify the array, and vice versa.
       *
       * @param valueClass class of values stored in the returned array
       */
      @GwtIncompatible // reflection
      public @Nullable V[][] toArray(Class<V> valueClass) {
        @SuppressWarnings("unchecked") // TODO: safe?
        @Nullable V[][] copy =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertNotNull(result);
            assertEquals(currentTime + 5000, result.getTime());
        }
    
        public void test_getExpiredTime() {
            // Test via reflection since method is protected
            try {
                java.lang.reflect.Method getExpiredTimeMethod = CrawlingInfoHelper.class.getDeclaredMethod("getExpiredTime", int.class);
                getExpiredTimeMethod.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

        TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds);
        @SuppressWarnings("unchecked")
        TypeVariable<D> typeVariable =
            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *     OkHttp needs to build a clean certificate chain. This method instead must use reflection
         *     to extract the trust manager. Applications should prefer to call
         *     `sslSocketFactory(SSLSocketFactory, X509TrustManager)`, which avoids such reflection.
         */
        @Deprecated(
          message = "Use the sslSocketFactory overload that accepts a X509TrustManager.",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        return ImmutableSetMultimap.<String, Integer>builder()
            .put("foo", 1)
            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
Back to top