swiftpoet / io.outfoxx.swiftpoet / ImportSpec

ImportSpec

class ImportSpec : AttributedSpec, Comparable<ImportSpec>

Types

Builder

class Builder

Properties

doc

val doc: CodeBlock

guardTest

val guardTest: CodeBlock

name

val name: String

Functions

compareTo

fun compareTo(other: ImportSpec): Int

toString

fun toString(): String

Companion Object Functions

builder

fun builder(name: String): Builder