How to add annotation to a container item

i’m using jakarta.validation to validate parameter

The syntax is

class C(val c: List[Int @unchecked])

thanks very much