Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetGenericSuperclass_typeVariable_boundIsInterface (0.18 sec)

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

        assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass());
      }
    
      public <T extends List<String> & Serializable>
          void testGetGenericSuperclass_typeVariable_boundIsInterface() {
        assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()).isNull();
        assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top