@Test
  public void testInheritedListGetterRemainsNullable() throws NoSuchMethodException {
    StringList instance = new AutoValue_AutoValueJava8Test_StringList(ImmutableList.of());
    Method getter = instance.getClass().getDeclaredMethod("things");
    AnnotatedParameterizedType returnType =
        (AnnotatedParameterizedType) getter.getAnnotatedReturnType();
    assertThat(returnType.getAnnotatedActualTypeArguments()[0].getAnnotations())
        .asList()
        .doesNotContain(nullable());
    // This should be .contains(nullable()).
  }
Returns a set containing this test's {@link Nullable @Nullable} annotation, plus possibly
another {@code @Nullable} that is present on the parameter of {@link Object#equals}.
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java