Move ClusterWriteMapping.java to be generated from matter.idl (#25773)
* Some initial changes
* Parser support for timed writes
* Small doc update
* Matter idl support for timed write
* Fix indent and codegen all
* Remove extra line from readme
* Some fixes
* Fix conditional in requires_timed_write
* Most codegen looks ok. Java boxing logic is suspect still
* More updates, output idential EXCEPT types for boxing
* Increase 1000 to 10000 to match original template
* Fix byte count comparison when long starts to take effect
* Fix length of underlying bitmap type sizing
* Fixed files, they are IDENTICAL
* Integrate java-jni and java-class since build rules are different between cpp and java files
* Fix python syntax
* Switch default to not have underscore
* Add java codegen via jinja to zap_regen_all
* Restyle, fix restyle logic
* Fix duplicated generation target
* Do not attempt to zap-generate Cluster write mapping
* Add golden image unit test for java codegen
* Add prettyfy for java output ... makes the input/output files more obviously identical
* Remove unused variable
* Fix upper/lowercase of acronyms, to be fully backwards compatible
* Add license blurb since we checkin generated file (and maybe jinja files should also have licenses
* Restyle
* Fix unit test
---------
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
diff --git a/.restyled.yaml b/.restyled.yaml
index 8c77704..33db552 100644
--- a/.restyled.yaml
+++ b/.restyled.yaml
@@ -78,6 +78,7 @@
- "scripts/run_codegen_targets.sh" # shellharden breaks for loops over command outputs
- "src/darwin/Framework/CHIP/zap-generated/*" # already clang-formatted by our zap tooling
- "zzz_generated/**/*" # already clang-formatted by our zap tooling
+ - "src/controller/java/generated/java/**/*" # not formatted: generated files
changed_paths: