Packages

t

com.outworkers.util.macros

AnnotationToolkit

trait AnnotationToolkit extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnnotationToolkit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Accessor (name: scala.reflect.macros.Universe.TermName, paramType: scala.reflect.macros.Universe.Type) extends Product with Serializable

Abstract Value Members

  1. abstract val c: Context

Concrete 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. def accessors(params: Seq[scala.reflect.macros.Universe.ValDef]): Iterable[Accessor]

    Retrieves the accessor fields on a case class and returns an iterable of tuples of the form Name -> Type.

    Retrieves the accessor fields on a case class and returns an iterable of tuples of the form Name -> Type. For every single field in a case class, a reference to the string name and string type of the field are returned.

    Example:

    case class Test(id: UUID, name: String, age: Int)
    
    accessors(Test) = Iterable("id" -> "UUID", "name" -> "String", age: "Int")
    params

    The list of params retrieved from the case class.

    returns

    An iterable of tuples where each tuple encodes the string name and string type of a field.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def caseFields(tpe: scala.reflect.macros.Universe.Type): Iterable[Accessor]

    Retrieves the accessor fields on a case class and returns an iterable of tuples of the form Name -> Type.

    Retrieves the accessor fields on a case class and returns an iterable of tuples of the form Name -> Type. For every single field in a case class, a reference to the string name and string type of the field are returned.

    Example:

    case class Test(id: UUID, name: String, age: Int)
    
    accessors(Test) = Iterable("id" -> "UUID", "name" -> "String", age: "Int")
    tpe

    The input type of the case class definition.

    returns

    An iterable of tuples where each tuple encodes the string name and string type of a field.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val collectionPkg: scala.reflect.macros.Universe.Select
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. def isCaseClass(sym: scala.reflect.macros.Universe.Symbol): Boolean
  15. def isCaseClass(tpe: scala.reflect.macros.Universe.Type): Boolean
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isTuple(sym: scala.reflect.macros.Universe.Symbol): Boolean
  18. def isTuple(tpe: scala.reflect.macros.Universe.Type): Boolean
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def printType(tpe: scala.reflect.macros.Universe.Type): String
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def tupleTerm(i: Int): scala.reflect.macros.Universe.TermName
  26. def typed[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.Universe.Symbol
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. object CaseField
  31. object Symbols

Inherited from AnyRef

Inherited from Any

Ungrouped