ClassName

org.specs2.reflect.ClassName$
See theClassName companion trait
object ClassName extends ClassName

Attributes

Companion:
trait
Graph
Supertypes
trait ClassName
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Inherited methods

def className(klass: Class[_]): String

Attributes

Returns:

the class name

Inherited from:
ClassName
def className(name: String): String

Attributes

Returns:

the decoded class name, with its package

Inherited from:
ClassName
def className(any: AnyRef): String

Attributes

Returns:

the class name of an instance

Inherited from:
ClassName
def getOuterClassName(c: Class[_]): String

Attributes

Returns:

the outer class name for a given class

Inherited from:
ClassName
def humanName(c: Class[_]): String

Attributes

Returns:

the uncamelcased name of the class (or its parent if it is an anonymous class)

Inherited from:
ClassName
def packageName(name: String): String

Attributes

Returns:

the package name from the decoded class name

Inherited from:
ClassName
def simpleClassName(any: AnyRef): String

Attributes

Returns:

the class name of an instance

Inherited from:
ClassName
def simpleName(klass: Class[_]): String

Attributes

Returns:

the class name without the package name

Inherited from:
ClassName

Extensions

Inherited extensions

extension (klass: Class[_])
def humanName(using nothing: Int): String

Attributes

Inherited from:
ClassName
def simpleName(using nothing: Int): String

Attributes

Inherited from:
ClassName