Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 390 for reflection (0.26 sec)

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

       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public interface DerivedGenerator {
      TestSubjectGenerator<?> getInnerGenerator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

                  newUpdater(AggregateFutureState.class, "remaining"));
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // 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 will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported");
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() {
        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_CollectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
     * @author George van den Driessche
     */
    @Target(value = {java.lang.annotation.ElementType.ANNOTATION_TYPE})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.collect.Lists;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Reflection;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.common.base.Function;
    import com.google.common.base.Throwables;
    import com.google.common.collect.Lists;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Reflection;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt

     * that will not accept the [TLS_FALLBACK_SCSV] cipher, thus bypassing server-side fallback
     * checks on platforms that support it. Unfortunately this wrapping will disable any
     * reflection-based calls to SSLSocket from Platform.
     */
    class FallbackTestClientSocketFactory(
      delegate: SSLSocketFactory,
    ) : DelegatingSSLSocketFactory(delegate) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/MediaTypeTest.java

    public class MediaTypeTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testParse_useConstants() throws Exception {
        for (MediaType constant : getConstants()) {
          assertSame(constant, MediaType.parse(constant.toString()));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testCreate_useConstants() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top