398 log.error(annoTree.pos(), "duplicate.annotation.invalid.repeated", origAnnoType); |
398 log.error(annoTree.pos(), "duplicate.annotation.invalid.repeated", origAnnoType); |
399 |
399 |
400 Attribute.Compound c = enterAnnotation(annoTree, |
400 Attribute.Compound c = enterAnnotation(annoTree, |
401 targetContainerType, |
401 targetContainerType, |
402 ctx.env); |
402 ctx.env); |
|
403 c.setSynthesized(true); |
403 return c; |
404 return c; |
404 } else { |
405 } else { |
405 return null; // errors should have been reported elsewhere |
406 return null; // errors should have been reported elsewhere |
406 } |
407 } |
407 } |
408 } |