TypeSpec

Properties

Link copied to clipboard
open override val annotations: List<AnnotationSpec>
Link copied to clipboard
open override val contextReceiverTypes: List<TypeName>

The originating elements of this type.

Link copied to clipboard
Link copied to clipboard
open override val funSpecs: List<FunSpec>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val kdoc: CodeBlock
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
open override val originatingElements: List<<Error class: unknown class>>

The originating elements of this type.

Link copied to clipboard
Link copied to clipboard
open override val propertySpecs: List<PropertySpec>
Link copied to clipboard
Link copied to clipboard

Map of superinterfaces - entries with a null value represent a regular superinterface (with no delegation), while non-null CodeBlock values represent delegates for the corresponding TypeSpec interface (key) value

Link copied to clipboard
open override val tags: Map<KClass<*>, Any>

Returns all tags.

Link copied to clipboard
open override val typeSpecs: List<TypeSpec>
Link copied to clipboard

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: <Error class: unknown 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
inline fun <T : Any> Taggable.tag(): T?

Returns the tag attached with T as a key, or null if no tag is attached with that key.

Link copied to clipboard
fun toBuilder(kind: TypeSpec.Kind = this.kind, name: String? = this.name): TypeSpec.Builder
Link copied to clipboard
open override fun toString(): String