toggle menu
kotlinpoet
1.17.0-SNAPSHOT
common
switch theme
search in API
kotlinpoet
/
com.squareup.kotlinpoet
/
Taggable
/
tag
tag
open
fun
<
T
:
Any
>
tag
(
type
:
<Error class: unknown class>
<
T
>
)
:
T
?
open
fun
<
T
:
Any
>
tag
(
type
:
KClass
<
T
>
)
:
T
?
Returns the tag attached with
type
as a key, or null if no tag is attached with that key.