Skip to content

Glossary: Software Design Patterns in Java

Annotation

Also written: annotations

A label written `@Name` above a class or method that tools and frameworks read. JUnit's `@Test` and Spring's `@GetMapping` are examples.

Where the book teaches it

Related terms

JUnitSpringRegistry