Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSubtypeOfInnerClass_staticAnonymousClass (0.2 sec)

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

        assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype));
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
      public static void testSubtypeOfInnerClass_staticAnonymousClass() {
        TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {};
        Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top