Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TypeResolver (0.12 sec)

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

      }
    
      public <T> void testWhere_parameterizedSelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = new TypeCapture<List<T>>() {}.capture();
        assertEquals(t, resolver.where(t, t).resolveType(t));
      }
    
      public <T> void testWhere_genericArraySelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = new TypeCapture<T[]>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

      }
    
      public <T> void testWhere_parameterizedSelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = new TypeCapture<List<T>>() {}.capture();
        assertEquals(t, resolver.where(t, t).resolveType(t));
      }
    
      public <T> void testWhere_genericArraySelfMapping() {
        TypeResolver resolver = new TypeResolver();
        Type t = new TypeCapture<T[]>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

       * UnsupportedOperationException}; this should only apply to {@code getAnnotatedBounds()}. This
       * does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link
       * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that
       * should hopefully be rare.
       *
       * <p>TODO(b/147144588): We are currently also missing the methods inherited from {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top