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 annotationsOf(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr): Set[AnnotationInfo]
def computeFieldAnnotations(using cache: StatementsCache)(tpe: cache.quotes.reflect.TypeRepr, fieldName: String): Set[AnnotationInfo]
def getValueAnnotations(using cache: StatementsCache)(valueTerm: cache.quotes.reflect.Term): Set[AnnotationInfo]
Extensions
Extensions
extension (annotations: Set[AnnotationInfo])
def exists[Annotation <: StaticAnnotation](using evidence$1: Type[Annotation], cache: StatementsCache): Boolean
def find[Annotation <: StaticAnnotation](using evidence$1: Type[Annotation], cache: StatementsCache): Option[AnnotationInfo]
def getString[Annotation <: StaticAnnotation : Type](using cache: StatementsCache)(parameter: String): Option[String]
def getStringOrDefault[Annotation <: StaticAnnotation : Type](using cache: StatementsCache)(parameter: String, defaultValue: String): String
def getTerm[Annotation <: StaticAnnotation : Type](using cache: StatementsCache)(parameter: String): Option[cache.quotes.reflect.Term]
def getTermOrDefault[Annotation <: StaticAnnotation : Type](using cache: StatementsCache)(parameter: String, defaultValue: cache.quotes.reflect.Term): cache.quotes.reflect.Term
def remove[Annotation <: StaticAnnotation](using evidence$1: Type[Annotation], cache: StatementsCache): Set[AnnotationInfo]
extension (using cache: StatementsCache)(annotations: List[cache.quotes.reflect.Term])
In this article