Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Java code generator #360

Open
9 of 11 tasks
spinillos opened this issue May 8, 2024 · 0 comments
Open
9 of 11 tasks

Create Java code generator #360

spinillos opened this issue May 8, 2024 · 0 comments
Assignees

Comments

@spinillos
Copy link
Member

spinillos commented May 8, 2024

This issue is to track Java builders. The common pattern in Java is to have the builder inside the class, so you can access to the builder doing MyClass.Builder().blah(...).build(). An example for this pattern is this.

But we are going to do it with some constraints to make it easier:

  • All fields and functions are going to be public.
    • Java "way" is to use getters/setters, but it does the generator a bit more complex.
    • We can add getters/setters at any point if people starts to ask for that.
  • Panels don't have a specific builder, they have a "generic" one adding their extra information from Options and FieldConfig, so they aren't going to be inside other class.

Tasks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant