@Test
public void testGenericParameterTypes() throws Exception {

  @Api
  final class Test <T> {
    @SuppressWarnings("unused")
    public void setT(T t) {}
  }
  try {
    g.generateConfig(Test.class).get("myapi-v1.api");
    fail();
  } catch (GenericTypeException e) {
    // Expected.
  }
}