swiftpoet
/
io.outfoxx.swiftpoet
/
AttributeSpec
Attribute
Spec
class
AttributeSpec
:
Taggable
Content copied to clipboard
Types
Functions
Properties
Types
Builder
Link copied to clipboard
class
Builder
:
Taggable.Builder
<
AttributeSpec.Builder
>
Content copied to clipboard
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
tag
Link copied to clipboard
inline fun <
T
:
Any
>
tag
(type:
Class
<
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.
inline 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.
Properties
tags
Link copied to clipboard
val
tags
:
Map
<
KClass
<*>,
Any
>
Content copied to clipboard
all tags.