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 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.