Class

com.twitter.scrooge.java_generator

ApacheJavaGenerator

Related Doc: package java_generator

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

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

    Permalink

    genAdapt

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

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

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

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

    Permalink
  8. def deepContainer(sourceNamePart1: String, sourceNamePart2: Option[String], resultName: String, fieldType: FieldType, ns: Option[Identifier], operation: DeepGeneratorOperation): String

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

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

    Permalink
  11. val doc: Document

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

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

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

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

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

    Permalink
  18. def getNamespace(doc: Document): Identifier

    Permalink
  19. def getTypeString(fieldType: FunctionType): String

    Permalink
  20. def getTypeStringWithEnumMapping(fieldType: FunctionType): String

    Permalink
  21. def hashCode(): Int

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

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

    Permalink
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
  26. val namespace: Identifier

    Permalink
  27. val namespaceLanguage: String

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

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

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

    Permalink

    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

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

    Permalink
  35. var serEnumType: Boolean

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

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

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

    Permalink
  39. def toString(): String

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

    Permalink

    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

  41. final def wait(): Unit

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

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

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

Inherited from Generator

Inherited from AnyRef

Inherited from Any

Ungrouped