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
ClassName.type

Members list

Type members

Inherited classlikes

implicit class ClassOps(klass: Class[_])

Attributes

Inherited from:
ClassName
Supertypes
class Object
trait Matchable
class Any

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

Implicits

Inherited implicits

final implicit def ClassOps(klass: Class[_]): ClassOps

Attributes

Inherited from:
ClassName