salesforce / utam-java

UTAM Java implementation
MIT License
25 stars 16 forks source link

fix(compiler): allow name collision for private wait (resubmit) #206

Closed AdamTReineke closed 8 months ago

AdamTReineke commented 8 months ago

The wait feature can generate names that collide with user-provided names.

(current, working as expected) An element named test with wait:true and public:true will generate a public getter named waitForTest. This throws a compile error.

(changed, was broken) An element named test with wait:true and public:false will not generate a public getter named waitForTest. This should not throw an error if a user defines a method named waitForTest.

Code review notes: This is branched off the formatting PR.

QA notes: Look the JSON PO files in the PR to verify they compile as expected.