class Builder : Taggable.Builder<AnnotationSpec.Builder>
val members: MutableList<CodeBlock> |
|
val tags: MutableMap<KClass<*>, Any>
Mutable map of the current tags this builder contains. |
fun addMember(format: String, vararg args: Any): AnnotationSpec.Builderfun addMember(codeBlock: CodeBlock): AnnotationSpec.Builder |
|
fun build(): AnnotationSpec |
|
fun useSiteTarget(useSiteTarget: AnnotationSpec.UseSiteTarget?): AnnotationSpec.Builder |
open fun tag(type: Class<*>, tag: Any?): Topen fun tag(type: KClass<*>, tag: Any?): T
Attaches tag to the request using type as a key. Tags can be read from a
request using Taggable.tag. Use |
fun <T : Any> AnnotationSpec.Builder.tag(tag: T?): AnnotationSpec.Builder
Attaches tag to the request using T as a key. Tags can be read from a
request using Taggable.tag. Use |