Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 334 for Reflection (0.16 sec)

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

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @SuppressWarnings("unused") // Called by reflection
        private void privateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        public void publicMethod() {}
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  4. android/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 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. 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 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

          throw propagate(e.getCause());
        }
      }
    
      /** JavaLangAccess class name to load using reflection */
      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

          throw propagate(e.getCause());
        }
      }
    
      /** JavaLangAccess class name to load using reflection */
      @J2ktIncompatible @GwtIncompatible // not used by GWT emulation
      private static final String JAVA_LANG_ACCESS_CLASSNAME = "sun.misc.JavaLangAccess";
    
      /** SharedSecrets class name to load using reflection */
      @J2ktIncompatible
      @GwtIncompatible // not used by GWT emulation
      @VisibleForTesting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound(
            List<? super String> list) {
          return notSubtype(list);
        }
    
        // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider
        // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar>
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top