Class

refuel.internal.json

CaseCodecFactory

Related Doc: package json

Permalink

class CaseCodecFactory extends PropertyDebugModeEnabler

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseCodecFactory
  2. PropertyDebugModeEnabler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CaseCodecFactory(c: Context)

    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. val c: Context

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def debuglog(c: Context)(message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    PropertyDebugModeEnabler
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromCaseClass[T](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.Universe.Expr[Codec[T]]

    Permalink

    Create Codec[T] instance.

    Create Codec[T] instance. T must have apply and unapply or unapplySeq implemented, and the argument type of apply and the return parameter of unapply must match. In other words, T is a case class.

    If the above conditions are satisfied, there is a possibility that all codecs that are required internally will be built.v

    If there is an implicit internal Codec, it will be used, otherwise it will be automatically generated from apply / unapply

    - [ Note ] If recursive resolution is not possible and there are not enough user definitions to make up for it, a compilation error will occur.

    For example, there is a trait field declaration inside, a class that does not have apply / unapply, or a type class that is not supported by default. In that case, you need to declare a custom Codec by the user.

    T

    Codec build type

  12. def fromInferOrCase[T](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[T]): scala.reflect.macros.Universe.Expr[Codec[T]]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  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 recall[T](q: scala.reflect.macros.Universe.Symbol): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]

    Permalink
    Attributes
    protected
  20. def recall[T](q: scala.reflect.macros.Universe.Type): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]

    Permalink
    Attributes
    protected
  21. def recall[T](q: scala.reflect.macros.Universe.WeakTypeTag[T]): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]

    Permalink
    Attributes
    protected
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  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 PropertyDebugModeEnabler

Inherited from AnyRef

Inherited from Any

Ungrouped