Using the Built-In Annotation Literals (original) (raw)

The following built-in annotations define a Literal static nested class, which can be used as a convenience feature for creating instances of annotations:

For example: