Skip to content

Glossary: Kotlin Beyond the Basics

annotation

Also written: annotations

A label starting with `@`, such as `@Serializable` or `@Test`, placed before a class, function or property. Tools like the compiler plugin or test runner read it.

Where the book teaches it

Related terms

@Serializablekotlin.test@DslMarker