ShortTypeHints

case class ShortTypeHints(hints: List[Class[_]], typeHintFieldName: String) extends TypeHints

Use short class name as a type hint.

Use short class name as a type hint.

trait Serializable
trait Product
trait Equals
trait TypeHints
class Object
trait Matchable
class Any

Value members

Concrete methods

def classFor(hint: String, parent: Class[_]): Option[Class[_]]
def hintFor(clazz: Class[_]): Option[String]

Inherited methods

def +(hints: TypeHints): TypeHints

Adds the specified type hints to this type hints.

Adds the specified type hints to this type hints.

Inherited from
TypeHints
def components: List[TypeHints]
Inherited from
TypeHints
def containsHint(clazz: Class[_]): Boolean
Inherited from
TypeHints
def deserialize: PartialFunction[(String, JObject), Any]
Inherited from
TypeHints
def isTypeHintField(f: JField, parent: Class[_]): Boolean
Inherited from
TypeHints
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def serialize: PartialFunction[Any, JObject]
Inherited from
TypeHints
def shouldExtractHints(clazz: Class[_]): Boolean
Inherited from
TypeHints
def typeHintFieldNameForClass(clazz: Class[_]): Option[String]
Inherited from
TypeHints
def typeHintFieldNameForHint(hint: String, parent: Class[_]): Option[String]
Inherited from
TypeHints