ExtensionSpec

class ExtensionSpec : Taggable

A generated class, protocol, or enum declaration.

Types

Builder
Link copied to clipboard
class Builder : Taggable.Builder<ExtensionSpec.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
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(): ExtensionSpec.Builder
toString
Link copied to clipboard
open override fun toString(): String

Properties

conditionalConstraints
Link copied to clipboard
val conditionalConstraints: List<TypeVariableName>
doc
Link copied to clipboard
val doc: CodeBlock
extendedType
Link copied to clipboard
val extendedType: AnyTypeSpec
funSpecs
Link copied to clipboard
val funSpecs: List<FunctionSpec>
modifiers
Link copied to clipboard
val modifiers: Set<Modifier>
propertySpecs
Link copied to clipboard
val propertySpecs: List<PropertySpec>
superTypes
Link copied to clipboard
val superTypes: Set<TypeName>
tags
Link copied to clipboard
val tags: Map<KClass<*>, Any>
all tags.
typeSpecs
Link copied to clipboard
val typeSpecs: List<AnyTypeSpec>