Class

zio.blocks.typeid.TypeDefKind.Class
final case class Class(isFinal: Boolean = ..., isAbstract: Boolean = ..., isCase: Boolean = ..., isValue: Boolean = ..., bases: List[TypeRepr] = ...) extends TypeDefKind

A class definition.

Value parameters

bases

Parent classes and traits this class extends

isAbstract

Whether the class is abstract

isCase

Whether the class is a case class

isFinal

Whether the class is final

isValue

Whether the class extends AnyVal

Attributes

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

Members list

Value members

Concrete methods

override def baseTypes: List[TypeRepr]

The base types (parent classes/traits) of this type definition.

The base types (parent classes/traits) of this type definition.

Attributes

Definition Classes
Source
TypeDefKind.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