Lines Matching defs:toGenericType
986 assertEquals(TypeToken.of(String.class), TypeToken.toGenericType(String.class));987 assertEquals(new TypeToken<int[]>() {}, TypeToken.toGenericType(int[].class));989 TypeToken<? extends Iterable> genericType = TypeToken.toGenericType(Iterable.class);