Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for WildcardTypeImpl (0.35 seconds)

  1. android/guava/src/com/google/common/reflect/Types.java

      @VisibleForTesting
      static WildcardType subtypeOf(Type upperBound) {
        return new WildcardTypeImpl(new Type[0], new Type[] {upperBound});
      }
    
      /** Returns a new {@link WildcardType} with {@code lowerBound}. */
      @VisibleForTesting
      static WildcardType supertypeOf(Type lowerBound) {
        return new WildcardTypeImpl(new Type[] {lowerBound}, new Type[] {Object.class});
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

        for (Type bound : type.getUpperBounds()) {
          if (!any(declared).isSubtypeOf(bound)) {
            upperBounds.add(canonicalizeWildcardsInType(bound));
          }
        }
        return new Types.WildcardTypeImpl(type.getLowerBounds(), upperBounds.toArray(new Type[0]));
      }
    
      private static ParameterizedType canonicalizeWildcardsInParameterizedType(
          ParameterizedType type) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
Back to Top