What does the `@Target` annotation define in Java?
The `@Target` annotation specifies the context where an annotation can be used, such as limiting an annotation to classes or methods.
Thatâ€™s partially correct. `@Target` can specify contexts, but it also uses an array of elements to define multiple valid targets for an annotation.
Can you give an example of using `@Target` with multiple valid elements, such as both methods and fields?