com.digitalasset.transcode.codegen.java

Members list

Type members

Classlikes

class Context(val schema: Schema)

Attributes

Supertypes
class Object
trait Matchable
class Any
object JavaCodegen extends Codegen

Attributes

Supertypes
trait Codegen
class Object
trait Matchable
class Any
Self type
object JdkHelper

This is to overcome https://openjdk.org/jeps/396

This is to overcome https://openjdk.org/jeps/396

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
JdkHelper.type
trait Meta

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Meta

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Meta.type
object Names

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Names.type

Value members

Concrete methods

def NEW(ctor: String | ClassOrInterfaceType)(arguments: Expression*): ObjectCreationExpr
def SWITCH(valueExpr: Expression)(cases: Seq[(Expression, Expression)])(defaultExpression: Expression): SwitchExpr
def \(name: String)(expr: NameExpr => Expression): Expression
def \(expr: Expression): Expression
def format(cu: CompilationUnit): String
def importFqns(cu: CompilationUnit): CompilationUnit
inline def newArray[T <: AnyKind](values: Seq[Expression]): Expression

Concrete fields

val PF: Seq[Keyword]
val PSF: Seq[Keyword]

Extensions

Extensions

extension (expr: Expression)
def /(selector: String): FieldAccessExpr
def call(name: String)(params: Expression*): MethodCallExpr
def callApply(params: Expression*): MethodCallExpr
extension (id: Identifier)
def damlPackagePrefix: String
def toClassName: String
def toEffectiveJavaFqn(using ctx: Context): String
def toIdentifiersRef: Expression
def toJavaFqn: String
def toJavaPackageName: String
extension (name: String)
def uncapitalize: String