Targets¶
The annotation must target only the specified declaration types. By default, any declaration type can be targeted.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
targets |
List<AnnotationTarget> |
An exhaustive list of the valid targets. | - |
Targets:
Annotation