
wei-k.play-twenty-three-generator_2.11.0.2.0.source-code.Clazz.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-twenty-three-generator_2.11 Show documentation
Show all versions of play-twenty-three-generator_2.11 Show documentation
generate over twenty three case classes play-json Reads/Writes/Format
The newest version!
package play.twentythree
final case class Clazz(name: String, isFinal: Boolean, isCase: Boolean, constructorPrivate: Boolean){
private[twentythree] def str(outer: String): String = List(
if(isFinal) "final " else "",
if(isCase) "case " else "",
"class " + name + " ",
if(constructorPrivate) s"private[$outer]" else ""
).mkString
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy