ReflectionUtil

izumi.fundamentals.platform.reflection.ReflectionUtil

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def allPartsStrong(using q: Quotes)(typeRepr: q.reflect.TypeRepr): Boolean

Returns true if the given type contains no type parameters (this means the type is not "weak" https://stackoverflow.com/questions/29435985/weaktypetag-v-typetag)

Returns true if the given type contains no type parameters (this means the type is not "weak" https://stackoverflow.com/questions/29435985/weaktypetag-v-typetag)

There is another copy of this snippet in izumi-reflect!

Attributes

def findSymbolAnnoString(using qctx: Quotes)(sym: qctx.reflect.Symbol, annotationSym: qctx.reflect.Symbol): Option[String]
def findTypeAnnoString(using qctx: Quotes)(tpe: qctx.reflect.TypeRepr, annotationSym: qctx.reflect.Symbol): Option[String]
def getConstantType[S : Type](orElse: => S)(implicit evidence$1: Type[S], qctx: Quotes): S
def getConstantType0[S](using qctx: Quotes)(tpe: qctx.reflect.TypeRepr)(orElse: => S): S
def intersectionMembers(using q: Quotes)(typeRepr: q.reflect.TypeRepr): List[q.reflect.TypeRepr]
def intersectionUnionMembers(using q: Quotes)(typeRepr: q.reflect.TypeRepr): List[q.reflect.TypeRepr]
def readTypeOrSymbolDIAnnotation[A](using qctx: Quotes)(diAnnotationSym: qctx.reflect.Symbol)(name: String, annotSym: Option[qctx.reflect.Symbol], annotTpe: Either[qctx.reflect.TypeTree, qctx.reflect.TypeRepr])(extractResult: qctx.reflect.Term => Option[A]): Option[A]