72737475767778
/** * Returns a type that represents an unknown type that extends {@code bound}. */ public static WildcardType subtypeOf(Type bound) { return new WildcardTypeImpl(new Type[] { bound }, MoreTypes.EMPTY_TYPE_ARRAY); }
79808182838485
/** * Returns a type that represents an unknown supertype of {@code bound}. */ public static WildcardType supertypeOf(Type bound) { return new WildcardTypeImpl(new Type[] { Object.class }, new Type[] { bound }); }