daml/language-support
Stefano Baghino b245703b39
Refactor Java codegen (#13440)
* Remove unused class `JavaConf`

* Adapt tests to add template references for every type

* Minimize the data passed to `collectDamlLfInterfaces`

* Separate `CodeGen` from `CodeGenRunner`

* Refactor interfaces collection and resolution

* Refactor Java codegen

* Return `InterfaceType`s from `transitiveClosure`, move `DefTemplateWithRecord` to the Scala codegen

* Remove unused abstractions from the Java codegen

changelog_begin
changelog_end

* Minimize diff: move as much as possible to `CodeGenRunner`

* Revert "Adapt tests to add template references for every type"

This reverts commit 37c8c827179daa29668fa843c79afc8cef09e431.

* Fix compilation errors

* Minimize diff: restore imports in `ClassForType`

* Minimize diff: get rid of unnecessary refactorings

* Further simplications and fixing compilation errors

* Minimize diff: move `collectDamlLfInterfaces` back to its previous position

* Address https://github.com/digital-asset/daml/pull/13440#discussion_r846301958
2022-04-11 10:06:30 +00:00
..
codegen-common Refactor Java codegen (#13440) 2022-04-11 10:06:30 +00:00
codegen-main update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
hs/bindings Daml assitant support for Http metering endpoint [DPP-858] (#13157) 2022-03-10 11:33:09 +00:00
java Refactor Java codegen (#13440) 2022-04-11 10:06:30 +00:00
scala Refactor Java codegen (#13440) 2022-04-11 10:06:30 +00:00
ts Address remaining issues about CVE-2021-44906 (#13382) 2022-03-23 11:06:31 +00:00