Builder
Functions
add Annotation
Link copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead." )
Content copied to clipboard
add Annotations
Link copied to clipboard
fun addAnnotations(annotationSpecs: Iterable<AnnotationSpec>): TypeAliasSpec.Builder
Content copied to clipboard
add Kdoc
Link copied to clipboard
add Modifiers
Link copied to clipboard
add Type Variable
Link copied to clipboard
fun addTypeVariable(typeVariable: TypeVariableName): TypeAliasSpec.Builder
Content copied to clipboard
add Type Variables
Link copied to clipboard
fun addTypeVariables(typeVariables: Iterable<TypeVariableName>): TypeAliasSpec.Builder
Content copied to clipboard
build
Link copied to clipboard
tag
Link copied to clipboard
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.
Properties
annotations
Link copied to clipboard
modifiers
Link copied to clipboard
tags
Link copied to clipboard
typeVariables
Link copied to clipboard
Extensions
tag
Link copied to clipboard
inline fun <T : Any> TypeAliasSpec.Builder.tag(tag: T?): TypeAliasSpec.Builder
Content 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.