Lines Matching defs:wildcardType
157 TypeToken<?> wildcardType = TypeToken.of(withWildcardType.getActualTypeArguments()[0]);
159 wildcardType.resolveType(Iterable.class.getTypeParameters()[0]).getType());
602 Type wildcardType = Types.subtypeOf(Object[].class);
603 assertTrue(TypeToken.of(Object[].class).isAssignableFrom(wildcardType));
604 assertTrue(TypeToken.of(Object.class).isAssignableFrom(wildcardType));
605 assertTrue(TypeToken.of(wildcardType).isAssignableFrom(wildcardType));
606 assertFalse(TypeToken.of(int[].class).isAssignableFrom(wildcardType));
622 Type wildcardType = Types.subtypeOf(int[].class);
623 assertTrue(TypeToken.of(int[].class).isAssignableFrom(wildcardType));
624 assertTrue(TypeToken.of(Object.class).isAssignableFrom(wildcardType));
625 assertTrue(TypeToken.of(wildcardType).isAssignableFrom(wildcardType));
626 assertFalse(TypeToken.of(Object[].class).isAssignableFrom(wildcardType));