Properties

Link copied to clipboard
Link copied to clipboard

Mutable map of the current originating elements this builder contains.

Link copied to clipboard
open override val kdoc: CodeBlock.Builder
Link copied to clipboard
Link copied to clipboard
open override val originatingElements: MutableList<<Error class: unknown class>>

Mutable map of the current originating elements this builder contains.

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

Mutable map of the current tags this builder contains.

Link copied to clipboard

Functions

Link copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
open override fun addAnnotation(annotation: <Error class: unknown class><out <Error class: unknown class>>): PropertySpec.Builder
open override fun addAnnotation(annotationSpec: AnnotationSpec): PropertySpec.Builder
open override fun addAnnotation(annotation: ClassName): PropertySpec.Builder
open override fun addAnnotation(annotation: KClass<*>): PropertySpec.Builder
Link copied to clipboard
open override fun addAnnotations(annotationSpecs: Iterable<AnnotationSpec>): PropertySpec.Builder
Link copied to clipboard
open override fun addKdoc(block: CodeBlock): PropertySpec.Builder
open override fun addKdoc(format: String, vararg args: Any): PropertySpec.Builder
Link copied to clipboard
Link copied to clipboard
open fun addOriginatingElement(originatingElement: <Error class: unknown class>): PropertySpec.Builder

Adds an originatingElement to this type's list of originating elements.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun contextReceivers(vararg receiverTypes: TypeName): PropertySpec.Builder

Adds the given receiverTypes to this type's list of originating elements.

Link copied to clipboard
fun delegate(format: String, vararg args: Any?): PropertySpec.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun mutable(mutable: Boolean = true): PropertySpec.Builder

True to create a var instead of a val.

Link copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
fun receiver(receiverType: <Error class: unknown class>): PropertySpec.Builder
fun receiver(receiverType: KClass<*>): PropertySpec.Builder
Link copied to clipboard
Link copied to clipboard
open fun tag(type: <Error class: unknown class><out <Error class: unknown class>>, tag: Any?): PropertySpec.Builder
open fun tag(type: KClass<*>, tag: Any?): PropertySpec.Builder

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.

Link copied to clipboard

Attaches tag to the request using T as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for T.