kotlinpoet
1.12.0
kotlinpoet
/
com.squareup.kotlinpoet
/
Taggable
/
tag
tag
open
fun
<
T
:
Any
>
tag
(
type
:
Class
<
T
>
)
:
T
?
Content copied to clipboard
abstract
fun
<
T
:
Any
>
tag
(
type
:
KClass
<
T
>
)
:
T
?
Content copied to clipboard
Returns the tag attached with
type
as a key, or null if no tag is attached with that key.