Class

com.twitter.scrooge.android_generator

AndroidGenerator

Related Doc: package android_generator

Permalink

class AndroidGenerator extends ApacheJavaGenerator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AndroidGenerator
  2. ApacheJavaGenerator
  3. Generator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AndroidGenerator(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
    AndroidGeneratorApacheJavaGeneratorGenerator
  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
    Definition Classes
    ApacheJavaGenerator
  8. def deepContainer(sourceNamePart1: String, sourceNamePart2: Option[String], resultName: String, fieldType: FieldType, ns: Option[Identifier], operation: DeepGeneratorOperation): String

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

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

    Permalink
    Definition Classes
    ApacheJavaGenerator
  11. val doc: Document

    Permalink
    Attributes
    protected
    Definition Classes
    ApacheJavaGenerator
  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
    Definition Classes
    ApacheJavaGenerator
  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
    Definition Classes
    ApacheJavaGenerator
  18. def getNamespace(doc: Document): Identifier

    Permalink
    Definition Classes
    AndroidGeneratorApacheJavaGenerator
  19. def getTypeString(fieldType: FunctionType): String

    Permalink
    Definition Classes
    ApacheJavaGenerator
  20. def getTypeStringWithEnumMapping(fieldType: FunctionType): String

    Permalink
    Definition Classes
    ApacheJavaGenerator
  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
    Definition Classes
    ApacheJavaGenerator
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
  26. def isNullableType(t: FunctionType): Boolean

    Permalink
    Definition Classes
    ApacheJavaGenerator
  27. def leftElementTypeName(t: FunctionType, skipGeneric: Boolean = false): String

    Permalink
  28. val namespace: Identifier

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

    Permalink
    Definition Classes
    ApacheJavaGenerator
  31. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    ApacheJavaGenerator
  35. def qualifyNamedType(sid: SimpleID, scopePrefixOption: Option[SimpleID], 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

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

    Permalink
    Definition Classes
    AndroidGeneratorApacheJavaGenerator
  37. def rightElementTypeName(t: FunctionType, skipGeneric: Boolean = false): String

    Permalink
  38. var serEnumType: Boolean

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

    Permalink
    Definition Classes
    ApacheJavaGenerator
  40. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ApacheJavaGenerator
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. 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.

    Definition Classes
    AndroidGeneratorApacheJavaGenerator
  44. final def wait(): Unit

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

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

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

Inherited from ApacheJavaGenerator

Inherited from Generator

Inherited from AnyRef

Inherited from Any

Ungrouped