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
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object CaseField

  7. object Symbols

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

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. 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.

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val collectionPkg: scala.reflect.macros.Universe.Select

  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def isCaseClass(sym: Symbol): Boolean

  19. def isCaseClass(tpe: scala.reflect.macros.Universe.Type): Boolean

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isTuple(sym: Symbol): Boolean

  22. def isTuple(tpe: scala.reflect.macros.Universe.Type): Boolean

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def printType(tpe: scala.reflect.macros.Universe.Type): String

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def tupleTerm(i: Int): scala.reflect.macros.Universe.TermName

  30. def typed[A](implicit arg0: macrocompat.CompatContext.WeakTypeTag[A]): Symbol

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped