sbt.contraband

JavaCodeGen

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. implicit class IndentationAwareString extends AnyRef

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

    Definition Classes
    CodeGenerator

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

    Definition Classes
    Any
  7. def boxedType(tpe: String): String

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

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

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

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

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

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

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

    Generate the code corresponding to all definitions in s.

    Generate the code corresponding to all definitions in s.

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

    Generate the code corresponding to d.

    Generate the code corresponding to d.

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

    Generate the code corresponding to the enumeration e.

    Generate the code corresponding to the enumeration e.

    Definition Classes
    JavaCodeGenCodeGenerator
  17. def generateHeader: String

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

    Generate the code corresponding to the interface i.

    Generate the code corresponding to the interface i.

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

    Generate the code corresponding to the record r.

    Generate the code corresponding to the record r.

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

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

    Definition Classes
    AnyRef → Any
  22. implicit object indentationConfiguration extends IndentationConfiguration

    Indentation configuration for Java sources.

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def javaLangBoxedType(tpe: String): String

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

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

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

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

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

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

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

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

    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
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CodeGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped