object Companion


Link copied to clipboard
fun bestGuess(classNameString: String): ClassName

Returns a new ClassName instance for the given fully-qualified class name string. This method assumes that the input is ASCII and follows typical Java style (lowercase package names, UpperCamelCase class names) and may produce incorrect results or throw IllegalArgumentException otherwise. For that reason, the constructor should be preferred as it can create ClassName instances without such restrictions.