Packages

c

refuel.internal.json

CaseCodecFactory

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. Protected

Instance Constructors

  1. new CaseCodecFactory(c: Context)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val c: Context
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def debuglog(c: Context)(message: String): Unit
    Attributes
    protected
    Definition Classes
    PropertyDebugModeEnabler
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[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]]

    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]]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def recall[T](q: scala.reflect.macros.Universe.Symbol): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]
    Attributes
    protected
  20. def recall[T](q: scala.reflect.macros.Universe.Type): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]
    Attributes
    protected
  21. def recall[T](q: scala.reflect.macros.Universe.WeakTypeTag[T]): scala.reflect.macros.blackbox.Context.Expr[Codec[T]]
    Attributes
    protected
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped