@Test
  public void testTypeAnnotationOnBuilderCopiedToImplementation() {
    AnnotatedTypeParameterWithBuilder.Builder<@Nullable String> builder =
        AnnotatedTypeParameterWithBuilder.builder();
    Class<?> c = builder.getClass();
    assertThat(c.getTypeParameters()).hasLength(1);
    TypeVariable<?> typeParameter = c.getTypeParameters()[0];
    assertWithMessage(typeParameter.toString())
        .that(typeParameter.getAnnotations())
        .asList()
        .contains(nullable());
  }
Tests that an annotation on a type parameter of an {@code @AutoValue} builder is copied to the
implementation class.
value/src/it/functional/src/test/java/com/google/auto/value/AutoValueJava8Test.java