Reflection

com.phasmidsoftware.xmldoc.core.Reflection
See theReflection companion class
object Reflection

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Reflection.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def extractFieldNames(classTag: ClassTag[_], dropLast: Boolean): Array[String]

This method is borrowed directly from Spray ProductFormats.

This method is borrowed directly from Spray ProductFormats.

NOTE: Read this if you are getting exceptions thrown by this method (be aware that sys.error throws an exception). You MUST be careful when defining case classes that represent input types or output types. DO NOT use val or lazy val instead of def for additional instance methods. That is because they mess up the matching of the fields.

Value parameters

classTag

rhw class tag.

dropLast

if true, then we expect to find one extra declared field.

Attributes

Returns

an Array of String.

def extractFieldNames(classTag: ClassTag[_]): Array[String]

This method is borrowed directly from Spray ProductFormats.

This method is borrowed directly from Spray ProductFormats.

NOTE: Read this if you are getting exceptions thrown by this method (be aware that sys.error throws an exception). You MUST be careful when defining case classes that represent input types or output types. DO NOT use val or lazy val instead of def for additional instance methods. That is because they mess up the matching of the fields.

Value parameters

classTag

rhw class tag.

Attributes

Returns

an Array of String.