EnumerationCaseSpec

class EnumerationCaseSpec : AttributedSpec

Types

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
tag
Link copied to clipboard
inline 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.
inline 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(): EnumerationCaseSpec.Builder
toString
Link copied to clipboard
open fun toString(): String

Properties

attributes
Link copied to clipboard
val attributes: List<AttributeSpec>
doc
Link copied to clipboard
val doc: CodeBlock
name
Link copied to clipboard
val name: String
tags
Link copied to clipboard
val tags: Map<KClass<*>, Any>
all tags.
typeOrConstant
Link copied to clipboard
val typeOrConstant: Any?