TypeAliasSpec

class TypeAliasSpec : Taggable

A generated typealias declaration

Types

Builder
Link copied to clipboard
class Builder : Taggable.Builder<TypeAliasSpec.Builder>
Companion
Link copied to clipboard
object Companion

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
tag
Link copied to clipboard
open override fun <T : Any> tag(type: Class<T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key.
open override fun <T : Any> tag(type: KClass<T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key.
toBuilder
Link copied to clipboard
fun toBuilder(name: String = this.name, type: TypeName = this.type): TypeAliasSpec.Builder
toString
Link copied to clipboard
open override fun toString(): String

Properties

annotations
Link copied to clipboard
val annotations: List<AnnotationSpec>
kdoc
Link copied to clipboard
val kdoc: CodeBlock
modifiers
Link copied to clipboard
val modifiers: Set<KModifier>
name
Link copied to clipboard
val name: String
tags
Link copied to clipboard
open override val tags: Map<KClass<*>, Any>
Returns all tags.
type
Link copied to clipboard
val type: TypeName
typeVariables
Link copied to clipboard
val typeVariables: List<TypeVariableName>