org.clapper.classutil.ClassNameGenerator.scala Maven / Gradle / Ivy
                 Go to download
                
        
                    Show more of this group  Show more artifacts with this name
Show all versions of classutil_2.10 Show documentation
                Show all versions of classutil_2.10 Show documentation
A library for fast runtime class-querying, and more
                
             The newest version!
        
        package org.clapper.classutil
/**
  * Class name generator. Mix in, to get class name generation capabilities.
  */
private[classutil] trait ClassNameGenerator {
  val ClassNamePrefix: String
  private[classutil] def newGeneratedClassName =
    ClassNamePrefix + "$" + uniqueSuffix
  private def uniqueSuffix =
    java.util.UUID.randomUUID.toString.replace('-', '_')
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy