square/javapoet

`ParameterizedTypeName#annotated` would add the annotations repeatedly.

zhengxiaoyao0716 opened this issue · 0 comments

When we first used the #annotated( A, B, C ) method, it appended the annotations both to the ParameterizedTypeName.this.rawType and TypeName.this.annotations, while if we use the #annotated() method again, the annotations A, B, C would appended to rawType repeatedly.

image
image