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 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]