Scala Annotations

object DeprecationDemo extends App {
  @deprecated("deprecation message", "release # which deprecates method")
  def hello = "hola"

  hello  
}

Annotations associate meta-information with definitions.

Scala Annotations — Structure map

Clickable & Draggable!

Scala Annotations — Related pages: