kotlinpoet / com.squareup.kotlinpoet / TypeAliasSpec

TypeAliasSpec

class TypeAliasSpec

A generated typealias declaration

Types

Builder

class Builder

Properties

modifiers

val modifiers: Set<KModifier>

name

val name: String

type

val type: TypeName

typeVariables

val typeVariables: List<TypeVariableName>

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toBuilder

fun toBuilder(): Builder

toString

fun toString(): String

Companion Object Functions

builder

fun builder(name: String, type: TypeName): Builder
fun builder(name: String, type: Type): Builder
fun builder(name: String, type: KClass<*>): Builder