之前一直知道, annotation可以写在属性上,也可以写在getter上。 但今天才发现,annotation要么全部写在属性上,要么全部写再getter上,否则就会报错: Could not determine type for: java.util.Set