AnnotationUtils
org.encalmo.utils.AnnotationUtils
object AnnotationUtils
Attributes
- Graph
-
- Supertypes
- Self type
-
AnnotationUtils.type
Members list
Type members
Classlikes
Attributes
- Supertypes
Value members
Concrete methods
def computeFieldAnnotations[A](fieldName: String)(using evidence$1: Type[A], Quotes): Set[AnnotationInfo]
Extensions
Extensions
extension (annotations: Set[AnnotationInfo])
def getOrDefault[Annotation <: StaticAnnotation : Type, T : ToExpr](using Quotes)(parameter: String, defaultValue: Expr[T]): Expr[T]
extension (using Quotes)(annotations: List[x$1.reflect.Term])
Check if contains an annotation of the given type.
Check if contains an annotation of the given type.
Attributes
Get the value of an annotation of the given type.
Get the value of an annotation of the given type.
Attributes
def getOrDefault[Annotation <: StaticAnnotation : Type, T : Type : ToExpr](parameter: String, defaultValue: Expr[T]): Expr[T]
Get the value of an annotation of the given type, or return the default value if annotation not exists.
Get the value of an annotation of the given type, or return the default value if annotation not exists.
Attributes
In this article