Chapter 15. Annotations

Topics in This Chapter image

15.1 What Are Annotations? — page 200

15.2 What Can Be Annotated? — page 200

15.3 Annotation Arguments — page 201

15.4 Annotation Implementations — page 202

15.5 Annotations for Java Features — page 203

Java Modifiers. Marker Interfaces. Checked Exceptions.

Variable Arguments. JavaBeans.

15.6 Annotations for Optimizations — page 206

Tail Recursion. Jump Table Generation and Inlining.

Eliding Methods. Specialization for Primitive Types.

15.7 Annotations for Errors and Warnings — page 210

Exercises — page 211

Annotations let you add information to program items. This information can ...

Get Scala for the Impatient now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.