Annotation
zio.blocks.codegen.ir.Annotation
Represents a Scala annotation in the IR.
Value parameters
- args
-
List of annotation arguments as (name, value) pairs (defaults to empty list)
- name
-
The name of the annotation (e.g., "deprecated", "required")
Attributes
- Example
-
// Annotation without arguments val required = Annotation("required") // Annotation with arguments val deprecated = Annotation("deprecated", List(("message", "\"use v2\""))) - Source
- Annotation.scala
- Graph
-
- Supertypes
Members list
In this article