Class KotlinEnumWriter
java.lang.Object
io.github.torand.openapi2java.writers.BaseWriter
io.github.torand.openapi2java.writers.kotlin.KotlinEnumWriter
- All Implemented Interfaces:
EnumWriter,AutoCloseable
Writes Kotlin code for an enum.
-
Field Summary
Fields inherited from class io.github.torand.openapi2java.writers.BaseWriter
opts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.torand.openapi2java.writers.BaseWriter
close, write, writeIndent, writeLine, writeNewLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.openapi2java.writers.EnumWriter
close
-
Constructor Details
-
KotlinEnumWriter
-
-
Method Details
-
write
Description copied from interface:EnumWriterWrites code for specified enum.- Specified by:
writein interfaceEnumWriter- Parameters:
enumInfo- the enum information.
-