swiftpoet
/
io.outfoxx.swiftpoet
/
AnyTypeSpec
Any
Type
Spec
abstract class
AnyTypeSpec
(name:
String
, attributes:
List
<
AttributeSpec
>, tags:
Map
<
KClass
<*>,
Any
>) :
AttributedSpec
Content copied to clipboard
Functions
Properties
Inheritors
Functions
equals
Link copied to clipboard
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
open fun
hashCode
():
Int
Content copied to clipboard
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.
toString
Link copied to clipboard
open fun
toString
():
String
Content copied to clipboard
Properties
attributes
Link copied to clipboard
val
attributes
:
List
<
AttributeSpec
>
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.
typeSpecs
Link copied to clipboard
open val
typeSpecs
:
List
<
AnyTypeSpec
>
Content copied to clipboard
Inheritors
TypeAliasSpec
Link copied to clipboard
TypeSpec
Link copied to clipboard