swiftpoet / io.outfoxx.swiftpoet / FileSpec
FileSpec
class FileSpec
A Kotlin file containing top level objects like classes, objects, functions, properties, and type
aliases.
Items are output in the following order:
- Comment
- Annotations
- Package
- Imports
- Members
Types
Properties
Functions
|
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toBuilder(): Builder |
|
fun toString(): String |
|
fun writeTo(out: Appendable): Unit
Writes this to directory as UTF-8 using the standard directory structure.
fun writeTo(directory: Path): Unit
fun writeTo(directory: File): Unit |
Companion Object Functions