Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testInnerClassWithParameterizedOwner (0.16 seconds)

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

      private static class ParameterizedOuter<T> {
        @Keep public Inner field;
    
        @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
        assertEquals(
            fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      private static class ParameterizedOuter<T> {
        @Keep public Inner field;
    
        @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
        class Inner {}
      }
    
      public void testInnerClassWithParameterizedOwner() throws Exception {
        Type fieldType = ParameterizedOuter.class.getField("field").getGenericType();
        assertEquals(
            fieldType, TypeToken.of(ParameterizedOuter.class).resolveType(fieldType).getType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
Back to Top