Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for reflection (0.26 sec)

  1. android/guava/src/com/google/common/reflect/Reflection.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Proxy;
    
    /**
     * Static utilities relating to Java reflection.
     *
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
        assertEquals("java", Reflection.getPackageName("java.MyType"));
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
        assertEquals("java", Reflection.getPackageName("java.MyType"));
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      private static List<String> newDelegatingList(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate));
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
      private static List<String> newDelegatingListWithEquals(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

          }
        }
        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      private static List<String> newDelegatingList(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate));
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
      private static List<String> newDelegatingListWithEquals(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

          }
        }
        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * the other. Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    
    /**
     * Modern reflection based SocketAdapter for Conscrypt class SSLSockets.
     *
     * This is used directly for providers where class name is known e.g. the Google Play Provider
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570575">Sun bug 6570575</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
        return Helpers.getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top