class FileSpec
A Kotlin file containing top level objects like classes, objects, functions, properties, and type aliases.
Items are output in the following order:
class Builder |
val annotations: List<AnnotationSpec> |
|
val comment: CodeBlock |
|
val members: List<Any> |
|
val name: String |
|
val packageName: String |
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toBuilder(): Builder |
|
fun toJavaFileObject(): JavaFileObject |
|
fun toString(): String |
|
fun writeTo(out: Appendable): Unitfun writeTo(directory: Path): Unitfun writeTo(directory: File): Unit
Writes this to |
fun builder(packageName: String, fileName: String): Builder |
|
fun get(packageName: String, typeSpec: TypeSpec): FileSpec |