Scala Language Annotations

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


  • @AnAnnotation def someMethod = {...}
  • @AnAnnotation class someClass {...}
  • @AnnotatioWithArgs(annotation_args) def someMethod = {...}


@Indicates that the token following is an annotation.
SomeAnnotationThe name of the annotation
constructor_args(optional) The arguments passed to the annotation. If none, the parentheses are unneeded.


Got any Scala Language Question?