You are previewing Scala for the Impatient.

Scala for the Impatient

Cover of Scala for the Impatient by Cay S. Horstmann Published by Addison-Wesley Professional

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

The best content for your career. Discover unlimited learning on demand for around $1/day.