swiftpoet
/
io.outfoxx.swiftpoet
/
EnumerationCaseSpec
Enumeration
Case
Spec
class
EnumerationCaseSpec
:
AttributedSpec
Content copied to clipboard
Types
Functions
Properties
Types
Builder
Link copied to clipboard
class
Builder
:
AttributedSpec.Builder
<
EnumerationCaseSpec.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.
toBuilder
Link copied to clipboard
fun
toBuilder
():
EnumerationCaseSpec.Builder
Content copied to clipboard
Properties
attributes
Link copied to clipboard
val
attributes
:
List
<
AttributeSpec
>
Content copied to clipboard
doc
Link copied to clipboard
val
doc
:
CodeBlock
Content copied to clipboard
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
tags
Link copied to clipboard
val
tags
:
Map
<
KClass
<*>,
Any
>
Content copied to clipboard
all tags.
typeOrConstant
Link copied to clipboard
val
typeOrConstant
:
Any
?
Content copied to clipboard