@Test(expected = NullPointerException.class) public void testShouldThrowNullPointerExceptionForNullClassOfTInFromClassMethod() { TypeToken.fromClass(null); }
static <T> TypeToken<T> fromClass(Class<T> classForT) { return new TypeToken<T>(classForT) { }; }
TypeToken { static <T> TypeToken<T> fromClass(Class<T> classForT) { return new TypeToken<T>(classForT) { }; } }
TypeToken { static <T> TypeToken<T> fromClass(Class<T> classForT) { return new TypeToken<T>(classForT) { }; } TypeToken(); private  TypeToken(Class<?> classOfT); }
TypeToken { static <T> TypeToken<T> fromClass(Class<T> classForT) { return new TypeToken<T>(classForT) { }; } TypeToken(); private  TypeToken(Class<?> classOfT); Type getType(); }
TypeToken { static <T> TypeToken<T> fromClass(Class<T> classForT) { return new TypeToken<T>(classForT) { }; } TypeToken(); private  TypeToken(Class<?> classOfT); Type getType();  }