c

com.twitter.scrooge

ThriftStructFieldInfo

final class ThriftStructFieldInfo extends AnyRef

Field information to be embedded in a generated struct's companion class. Allows for reflection on field types.

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

Instance Constructors

  1. new ThriftStructFieldInfo(tfield: TField, isOptional: Boolean, manifest: Manifest[_], keyManifest: Option[Manifest[_]], valueManifest: Option[Manifest[_]])

    Secondary constructor provided for backwards compatibility: Older scrooge-generator does not produce annotations.

  2. new ThriftStructFieldInfo(tfield: TField, isOptional: Boolean, manifest: Manifest[_], keyManifest: Option[Manifest[_]], valueManifest: Option[Manifest[_]], typeAnnotations: Map[String, String], fieldAnnotations: Map[String, String])

    Provide backwards compatibility for older scrooge-generator that does not generate the isRequired flag

  3. new ThriftStructFieldInfo(tfield: TField, isOptional: Boolean, isRequired: Boolean, manifest: Manifest[_], keyManifest: Option[Manifest[_]], valueManifest: Option[Manifest[_]], typeAnnotations: Map[String, String], fieldAnnotations: Map[String, String])

    Provide backwards compatibility for older scrooge-generator that does not generate the defaultValue field

  4. new ThriftStructFieldInfo(tfield: TField, isOptional: Boolean, isRequired: Boolean, manifest: Manifest[_], keyManifest: Option[Manifest[_]], valueManifest: Option[Manifest[_]], typeAnnotations: Map[String, String], fieldAnnotations: Map[String, String], defaultValue: Option[Any])

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val defaultValue: Option[Any]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. val fieldAnnotations: Map[String, String]
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val isOptional: Boolean
  15. val isRequired: Boolean
  16. val keyManifest: Option[Manifest[_]]
  17. val manifest: Manifest[_]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val tfield: TField
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. val typeAnnotations: Map[String, String]
  25. val valueManifest: Option[Manifest[_]]
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped