TypeInfo

org.beangle.commons.lang.reflect.TypeInfo
See theTypeInfo companion trait
object TypeInfo

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TypeInfo.type

Members list

Type members

Classlikes

case class GeneralType(clazz: Class[_], args: ArraySeq[TypeInfo]) extends TypeInfo

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeInfo
class Object
trait Matchable
class Any
Show all
case class IterableType(clazz: Class[_], args: ArraySeq[TypeInfo]) extends TypeInfo

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeInfo
class Object
trait Matchable
class Any
Show all
case class OptionType(elementType: TypeInfo) extends TypeInfo

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TypeInfo
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def convert(obj: Any): TypeInfo
def get(clazz: Class[_]): TypeInfo
def get(clazz: Class[_], optional: Boolean): TypeInfo
def get(clazz: Class[_], first: Class[_], tails: Class[_]*): TypeInfo
def get(clazz: Class[_], args: Array[TypeInfo]): TypeInfo
def get(clazz: Class[_], args: Seq[TypeInfo]): TypeInfo
def isCaseClass(clazz: Class[_]): Boolean
def isCollectionType(clazz: Class[_]): Boolean
def isIterableType(clazz: Class[_]): Boolean
def isMapType(clazz: Class[_]): Boolean
def scalaTypeName(clazz: Class[_]): String
def stringz(obj: Any): String
def typeName(clazz: Class[_], args: Seq[TypeInfo]): String

Concrete fields

var cache: Map[String, TypeInfo]