Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 177 for Reflection (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-6570631">JDK-6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testEquals() throws Exception {
        new ClassSanityTester()
            .setDistinctValues(Class.class, Color.class, Gender.class)
            .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Iterables.unmodifiableIterable;
    import static com.google.common.reflect.Reflection.newProxy;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.InvocationTargetException;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            } catch (Exception // sneaky checked exception
                | Error atomicReferenceFieldUpdaterFailure) {
              // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
              // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
              // For these users fallback to a suboptimal implementation, based on synchronized. This
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            } catch (Exception e) {
                fail("Should not throw exception with empty map: " + e.getMessage());
            }
        }
    
        // Test getValueFromMap private method via reflection
        public void test_getValueFromMap() throws Exception {
            Method method = Crawler.class.getDeclaredMethod("getValueFromMap", Map.class, String.class, String.class);
            method.setAccessible(true);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
      /** Android method to clean and sort certificates, called via reflection. */
      @Suppress("unused", "UNCHECKED_CAST")
      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testSuppliersNullChecks() throws Exception {
        new ClassSanityTester()
            .setDefault(Duration.class, Duration.ofSeconds(1))
            .forAllPublicStaticMethods(Suppliers.class)
            .testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          // Don't use cls.getPackage() because it does nasty things like reading
          // a file.
          String visiblePackage = Reflection.getPackageName(cls);
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.OkHttpClient
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.readFieldOrNull
    
    /**
     * Base Android reflection based SocketAdapter for the built in Android SSLSocket.
     *
     * It's assumed to always be present with known class names on Android devices, so we build
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top