@Test
  public void testInheritedGetterRemainsNullable() throws NoSuchMethodException {
    // Ensure that the implementation has `@Nullable String thing()`.
    StringThing instance = new AutoValue_AutoValueJava8Test_StringThing(null);
    Method getter = instance.getClass().getDeclaredMethod("thing");
    assertThat(getter.getAnnotatedReturnType().getAnnotations()).asList().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