Chapter 15. Annotations
Topics in This Chapter A2
Annotations let you add information to program items. This information can be processed by the compiler or by external tools. In this chapter, you will learn how to interoperate with Java annotations and how to use the annotations that are specific to Scala.
The key points of this chapter are:
You can annotate classes, methods, fields, local variables, parameters, expressions, type parameters, and types.
With expressions and types, the annotation follows the annotated ...
Get Scala for the Impatient, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.