TypeAliasSpec

class TypeAliasSpec : Taggable

A generated typealias declaration

Types

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
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.

Link copied to clipboard
fun toBuilder(name: String = this.name, type: TypeName = this.type): TypeAliasSpec.Builder
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val annotations: List<AnnotationSpec>
Link copied to clipboard
val kdoc: CodeBlock
Link copied to clipboard
val modifiers: Set<KModifier>
Link copied to clipboard
val name: String
Link copied to clipboard
open override val tags: Map<KClass<*>, Any>

Returns all tags.

Link copied to clipboard
val type: TypeName
Link copied to clipboard
val typeVariables: List<TypeVariableName>