public annotation Target:
Restricts the kind of declaration an annotation can target.
@Target(Target.TYPE) public annotation Component: pass
| Modifier and Type | Member | Description |
|---|---|---|
| public static readonly | FIELDFIELD as String = "FIELD" |
Annotation target for fields. |
| public static readonly | METHODMETHOD as String = "METHOD" |
Annotation target for methods and constructors. |
| public static readonly | PARAMETERPARAMETER as String = "PARAMETER" |
Annotation target for parameters. |
| public static readonly | PROPERTYPROPERTY as String = "PROPERTY" |
Annotation target for properties. |
| public static readonly | TYPETYPE as String = "TYPE" |
Annotation target for classes, interfaces, enums and annotations. |