@Test
  void fake() throws Exception {
    Type context =
        LastTypeParameter.class.getDeclaredField("PARAMETERIZED_LIST_STRING").getGenericType();
    Type listStringType = LastTypeParameter.class.getDeclaredField("LIST_STRING").getGenericType();
    Type last = resolveLastTypeParameter(context, Parameterized.class);
    assertEquals(last, listStringType);
  }
Ex. your {@code Foo} object would be null, but so would things like Number.
core/src/test/java/feign/UtilTest.java