Trait

scala.pickling.pickler

GeneratorHelper

Related Doc: package pickler

Permalink

trait GeneratorHelper extends AnyRef

Mix-in and make use of generation-related code that runtime picklers usually need for unknown type parameters as Any.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeneratorHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type FastTypeTagSpecializer[T] = (tags.FastTypeTag[_]) ⇒ tags.FastTypeTag[T]

    Permalink
  2. type GenPicklerSignature[PU[_]] = (ClassLoader, Class[_], tags.FastTypeTag[_]) ⇒ PU[_]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generateHelper[T](elementTagExtractor: FastTypeTagSpecializer[T])(tpe: tags.FastTypeTag[_]): (Pickler[T], Unpickler[T])

    Permalink

    Creates a pickling generator that can be registered at runtime.

  10. def get[PU[_], S](query: (String) ⇒ Option[PU[_]], key: String, error: ⇒ Throwable): PU[S]

    Permalink

    Generic get that abstracts over Pickler and Unpickler.

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getPickler[T, S](tpe: tags.FastTypeTag[T], fullTpe: tags.FastTypeTag[S]): Pickler[T]

    Permalink

    Get a pickler from the registry or throw exception otherwise.

  13. def getUnpickler[T, S](tpe: tags.FastTypeTag[T], fullTpe: tags.FastTypeTag[S]): Unpickler[T]

    Permalink

    Get a unpickler from the registry or throw exception otherwise.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def oneArgumentTagExtractor[T](tpe: tags.FastTypeTag[_]): tags.FastTypeTag[T]

    Permalink

    Extract one type parameter from a type constructor and cast them to a concrete type T.

    Extract one type parameter from a type constructor and cast them to a concrete type T.

    T

    Type we want to convert to

    returns

    A tag holding information about T

  20. def specialize[T](tag: tags.FastTypeTag[_]): tags.FastTypeTag[T]

    Permalink

    Specialize a FastTypeTag for a type T.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def twoArgumentTagExtractor[T, S](tpe: tags.FastTypeTag[_]): (tags.FastTypeTag[T], tags.FastTypeTag[S])

    Permalink

    Extract two type parameters from a type constructor and cast them to some concrete types T and S.

    Extract two type parameters from a type constructor and cast them to some concrete types T and S.

    T

    First type we want to convert to

    S

    Second type we want to convert to

    returns

    A tuple of tags of (T, S)

  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped