tag
Returns the tag attached with T as a key, or null if no tag is attached with that key.
inline fun <T : Any> AttributeSpec.Builder.tag(tag: T?): AttributeSpec.Builder
Content copied to clipboard
inline fun <T : Any> EnumerationCaseSpec.Builder.tag(tag: T?): EnumerationCaseSpec.Builder
Content copied to clipboard
inline fun <T : Any> ExtensionSpec.Builder.tag(tag: T?): ExtensionSpec.Builder
Content copied to clipboard
inline fun <T : Any> FileMemberSpec.Builder.tag(tag: T?): FileMemberSpec.Builder
Content copied to clipboard
inline fun <T : Any> FunctionSpec.Builder.tag(tag: T?): FunctionSpec.Builder
Content copied to clipboard
inline fun <T : Any> ParameterSpec.Builder.tag(tag: T?): ParameterSpec.Builder
Content copied to clipboard
inline fun <T : Any> PropertySpec.Builder.tag(tag: T?): PropertySpec.Builder
Content 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.
Use this API to attach debugging or other application data to a spec so that you may read it in other APIs or callbacks.