Class

fm.serializer.MacroHelpers

FieldImpl

Related Doc: package MacroHelpers

Permalink

case class FieldImpl(number: Int = 1, name: String = null, getter: String = null, setter: String = null, constructorIdx: Int = 1, serializer: scala.reflect.macros.Universe.Tree = null, deserializer: scala.reflect.macros.Universe.Tree = null, tpe: scala.reflect.macros.Universe.Type = null, defaultValue: scala.reflect.macros.Universe.Tree = null) extends Product with Serializable

The companion class to Field

We take the arguments to the Field class (either as an Annotation or as "new Field(...)" expressions) and generate a FieldImpl from them. This means that for the Int and String fields you can only use literals that can be used a compile time. The serializer/deserialize can be arbitrary trees.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FieldImpl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FieldImpl(number: Int = 1, name: String = null, getter: String = null, setter: String = null, constructorIdx: Int = 1, serializer: scala.reflect.macros.Universe.Tree = null, deserializer: scala.reflect.macros.Universe.Tree = null, tpe: scala.reflect.macros.Universe.Type = null, defaultValue: scala.reflect.macros.Universe.Tree = null)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  6. def combine(other: FieldImpl): FieldImpl

    Permalink
  7. val constructorIdx: Int

    Permalink
  8. val defaultValue: scala.reflect.macros.Universe.Tree

    Permalink
  9. val deserializer: scala.reflect.macros.Universe.Tree

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  12. val getter: String

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val name: String

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  18. val number: Int

    Permalink
  19. val serializer: scala.reflect.macros.Universe.Tree

    Permalink
  20. val setter: String

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

    Permalink
    Definition Classes
    AnyRef
  22. val tpe: scala.reflect.macros.Universe.Type

    Permalink
  23. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped