All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wei-k.play-twenty-three-generator_2.11.0.2.0.source-code.Clazz.scala Maven / Gradle / Ivy

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