Packages

c

longevity.model.annotations

derivedPersistent

macro class derivedPersistent[M, Poly] extends Annotation with StaticAnnotation

macro annotation to mark a class as a derived persistent component. creates a companion object for the class that extends DerivedPType. if the class already has a companion object, then adds a parent class DerivedPType to the existing companion object.

Note that, when using this annotation, an existing companion object cannot already extend a class other than DerivedPType or scala.AnyRef.

M

the model

Poly

the type of the polymorphic persistent that this persistent is derived from

Annotations
@compileTimeOnly( ... )
Source
derivedPersistent.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. derivedPersistent
  2. StaticAnnotation
  3. Annotation
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new derivedPersistent()

Value Members

  1. macro def macroTransform(annottees: Any*): Any