swiftpoet
/
io.outfoxx.swiftpoet
/
ImportSpec
Import
Spec
class
ImportSpec
:
AttributedSpec
,
Comparable
<
ImportSpec
>
Content copied to clipboard
Types
Functions
Properties
Types
Builder
Link copied to clipboard
class
Builder
:
AttributedSpec.Builder
<
ImportSpec.Builder
>
Content copied to clipboard
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
compareTo
Link copied to clipboard
open operator override fun
compareTo
(other:
ImportSpec
):
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 override fun
toString
():
String
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
guardTest
Link copied to clipboard
val
guardTest
:
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.