com.twitter.scrooge.java_generator

ApacheJavaGenerator

class ApacheJavaGenerator extends Generator

Linear Supertypes
Generator, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ApacheJavaGenerator
  2. Generator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApacheJavaGenerator(resolvedDoc: ResolvedDocument, defaultNamespace: String, templateCache: TrieMap[String, Mustache], genHashcode: Boolean = true)

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. def apply(serviceOptions: Set[ServiceOption], outputPath: File, dryRun: Boolean = false, genAdapt: Boolean = false): Iterable[File]

    genAdapt

    Generate code for Adaptive Decoding. This flag is only used for scala presently.

    Definition Classes
    ApacheJavaGeneratorGenerator
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var counter: Int

  10. def deepCopyContainer(source_name_p1: String, source_name_p2: String, result_name: String, fieldType: FieldType, ns: Option[Identifier]): String

  11. def deepCopyNonContainer(source_name: String, fieldType: FieldType, ns: Option[Identifier]): String

  12. def deserializeField(fieldType: FieldType, fieldName: String, ns: Option[Identifier], prefix: String = ""): String

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

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

    Definition Classes
    AnyRef → Any
  15. def fieldValueMetaData(fieldType: FieldType, ns: Option[Identifier]): String

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. val genHashcode: Boolean

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getIncludeNamespace(includeFileName: String): Identifier

  20. def getNamespace(doc: Document): Identifier

  21. def getTypeString(fieldType: FunctionType): String

  22. def getTypeStringWithEnumMapping(fieldType: FunctionType): String

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def includeMap: Map[String, ResolvedDocument]

    Definition Classes
    Generator
  25. def initField(fieldType: FunctionType, inContainer: Boolean = false): String

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isNullableType(t: FunctionType): Boolean

  28. val namespaceLanguage: String

    Used to find the namespace in included files.

    Used to find the namespace in included files. This does not need to match the corresponding GeneratorFactory.language.

    Definition Classes
    ApacheJavaGeneratorGenerator
  29. def namespacedFolder(destFolder: File, namespace: String, dryRun: Boolean): File

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

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

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

    Definition Classes
    AnyRef
  33. def printConstValue(name: String, fieldType: FieldType, value: RHS, ns: Option[Identifier], in_static: Boolean = false, defval: Boolean = false): String

  34. def qualifyNamedType(sid: SimpleID, scopePrefix: Option[SimpleID]): Identifier

  35. def renderMustache(template: String, controller: Any = this): String

  36. var serEnumType: Boolean

  37. def serializeField(fieldType: FieldType, fieldName: String, ns: Option[Identifier], prefix: String = ""): String

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

    Definition Classes
    AnyRef
  39. def tmp(prefix: String = "tmp"): String

  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def typeName(t: FunctionType, inContainer: Boolean = false, inInit: Boolean = false, skipGeneric: Boolean = false): String

  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Generator

Inherited from AnyRef

Inherited from Any

Ungrouped