TypeMember

zio.blocks.typeid.Member.TypeMember
final case class TypeMember(name: String, typeParams: List[TypeParam] = ..., lowerBound: Option[TypeRepr] = ..., upperBound: Option[TypeRepr] = ...) extends Member

A type member.

Value parameters

lowerBound

Lower bound (if any)

name

The name of the type member

typeParams

Type parameters (for type constructors)

upperBound

Upper bound (if any)

Attributes

Source
Member.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Member
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isAbstract: Boolean

Returns true if this is an abstract type member (no bounds specified or not an alias).

Returns true if this is an abstract type member (no bounds specified or not an alias).

Attributes

Source
Member.scala
def isAlias: Boolean

Returns true if this is a type alias (lower and upper bounds are the same).

Returns true if this is a type alias (lower and upper bounds are the same).

Attributes

Source
Member.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala