Class

sbt.contraband

JavaCodeGen

Related Doc: package contraband

Permalink

class JavaCodeGen extends CodeGenerator

Code generator for Java.

Linear Supertypes
CodeGenerator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaCodeGen
  2. CodeGenerator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaCodeGen(lazyInterface: String, optionalInterface: String, instantiateJavaOptional: (String, String) ⇒ String, wrapOption: Boolean)

    Permalink

Type Members

  1. implicit class IndentationAwareString extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  2. implicit class ListMapOp[T] extends AnyRef

    Permalink
    Definition Classes
    CodeGenerator

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def boxedType(tpe: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def containsOptional(fields: List[FieldDefinition]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  8. def containsStrictOptional(fields: List[FieldDefinition]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generate(s: Document): ListMap[File, String]

    Permalink

    Generate the code corresponding to all definitions in s.

    Generate the code corresponding to all definitions in s.

    Definition Classes
    JavaCodeGenCodeGenerator
  13. def generate(s: Document, d: TypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to d.

    Generate the code corresponding to d.

    Attributes
    protected
    Definition Classes
    CodeGenerator
  14. def generateEnum(s: Document, e: EnumTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the enumeration e.

    Generate the code corresponding to the enumeration e.

    Definition Classes
    JavaCodeGenCodeGenerator
  15. def generateHeader: String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  16. def generateInterface(s: Document, i: InterfaceTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the interface i.

    Generate the code corresponding to the interface i.

    Definition Classes
    JavaCodeGenCodeGenerator
  17. def generateRecord(s: Document, r: ObjectTypeDefinition): ListMap[File, String]

    Permalink

    Generate the code corresponding to the record r.

    Generate the code corresponding to the record r.

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. implicit object indentationConfiguration extends IndentationConfiguration

    Permalink

    Indentation configuration for Java sources.

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def javaLangBoxedType(tpe: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  23. def localFields(cl: RecordLikeDefinition, parents: List[InterfaceTypeDefinition]): List[FieldDefinition]

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  24. def lookupChildLeaves(s: Document, interface: InterfaceTypeDefinition): List[TypeDefinition]

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  25. def lookupChildren(s: Document, interface: InterfaceTypeDefinition): List[TypeDefinition]

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  26. def lookupInterface(s: Document, ref: (Option[String], String)): InterfaceTypeDefinition

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  27. def lookupInterfaces(s: Document, interfaceRefs: List[NamedType]): List[InterfaceTypeDefinition]

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. final def perVersionNumber[T](since: VersionNumber, fields: List[FieldDefinition])(op: (List[FieldDefinition], List[FieldDefinition]) ⇒ T): List[T]

    Permalink

    Run an operation op for each different version number that affects the fields fields.

    Run an operation op for each different version number that affects the fields fields.

    Attributes
    protected
    Definition Classes
    CodeGenerator
  32. def primitiveType(tpe: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def unboxedType(tpe: String): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  36. final def wait(): Unit

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

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

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

Inherited from CodeGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped