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])

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 deepContainer(sourceNamePart1: String, sourceNamePart2: Option[String], resultName: String, fieldType: FieldType, ns: Option[Identifier], operation: DeepGeneratorOperation): String

  11. def deepNonContainer(sourceName: String, fieldType: FieldType, ns: Option[Identifier], operation: DeepGeneratorOperation): String

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

  13. val doc: Document

    Attributes
    protected
  14. final def eq(arg0: AnyRef): Boolean

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

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

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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 namespace: Identifier

  29. 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
  30. def namespacedFolder(destFolder: File, namespace: String, dryRun: Boolean): File

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

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

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

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

  35. def qualifyNamedType(sid: SimpleID, scopePrefixOption: Option[SimpleID], fileNamespaceOption: Option[Identifier] = None): Identifier

    sid

    identifier for the named type

    scopePrefixOption

    name of the file name for this named type. If it is present the named type is in a different file (and package) from the file being generated.

    fileNamespaceOption

    The namespace of the file being generated. If not present do not qualify this named type with a package.

    returns

    An identifier for the passed in type

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

  37. var serEnumType: Boolean

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

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

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

  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def typeName(t: FunctionType, inContainer: Boolean = false, inInit: Boolean = false, skipGeneric: Boolean = false, fileNamespace: Option[Identifier] = None): String

    fileNamespace

    The namespace to add to named types if they are defined in the file being generated. If you do not want a fully qualified name for types in the same package pass in None

  43. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Generator

Inherited from AnyRef

Inherited from Any

Ungrouped