square / javapoet

A Java API for generating .java source files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ParameterizedTypeName#annotated` would add the annotations repeatedly.

zhengxiaoyao0716 opened this issue · 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