Cover page by Cay S. Horstmann

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required