case class ShortTypeHints(hints: List[Class[_]], typeHintFieldName: String = "jsonClass") extends TypeHints with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShortTypeHints
- Serializable
- Serializable
- Product
- Equals
- TypeHints
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ShortTypeHints(hints: List[Class[_]], typeHintFieldName: String = "jsonClass")
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(hints: TypeHints): TypeHints
Adds the specified type hints to this type hints.
Adds the specified type hints to this type hints.
- Definition Classes
- TypeHints
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
classFor(hint: String, parent: Class[_]): Option[Class[_]]
Return type for given hint.
Return type for given hint.
- Definition Classes
- ShortTypeHints → TypeHints
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
components: List[TypeHints]
- Definition Classes
- TypeHints
-
def
containsHint(clazz: Class[_]): Boolean
- Definition Classes
- TypeHints
-
def
deserialize: PartialFunction[(String, JObject), Any]
- Definition Classes
- TypeHints
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hintFor(clazz: Class[_]): Some[String]
Return hint for given type.
Return hint for given type.
- Definition Classes
- ShortTypeHints → TypeHints
-
val
hints: List[Class[_]]
- Definition Classes
- ShortTypeHints → TypeHints
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTypeHintField(f: JField, parent: Class[_]): Boolean
- Definition Classes
- TypeHints
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serialize: PartialFunction[Any, JObject]
- Definition Classes
- TypeHints
-
def
shouldExtractHints(clazz: Class[_]): Boolean
- Definition Classes
- TypeHints
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
typeHintFieldName: String
The name of the field in JSON where type hints are added (jsonClass by default)
The name of the field in JSON where type hints are added (jsonClass by default)
- Definition Classes
- ShortTypeHints → TypeHints
-
def
typeHintFieldNameForClass(clazz: Class[_]): Option[String]
- Definition Classes
- TypeHints
-
def
typeHintFieldNameForHint(hint: String, parent: Class[_]): Option[String]
- Definition Classes
- TypeHints
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()