Class

com.outworkers.util.macros

AnnotationToolkit

Related Doc: package macros

Permalink

class 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

Instance Constructors

  1. new AnnotationToolkit(c: Context)

    Permalink

Type Members

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

    Permalink
  2. case class ListAccessor(accessor: Accessor) extends Product with Serializable

    Permalink
  3. case class MapAccessor(accessor: Accessor) extends Product with Serializable

    Permalink
  4. case class OptionAccessor(accessor: Accessor) extends Product with Serializable

    Permalink
  5. case class SetAccessor(accessor: Accessor) extends Product with Serializable

    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. object ListAccessor extends Serializable

    Permalink
  5. object MapAccessor extends Serializable

    Permalink
  6. object OptionAccessor extends Serializable

    Permalink
  7. object SetAccessor extends Serializable

    Permalink
  8. object Symbols

    Permalink
  9. def accessors(params: Seq[scala.reflect.macros.Universe.ValDef]): Iterable[Accessor]

    Permalink

    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.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val c: Context

    Permalink
  12. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def typed[A](implicit arg0: scala.reflect.macros.blackbox.Context.WeakTypeTag[A]): scala.reflect.macros.Universe.Symbol

    Permalink
  25. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped