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

add function of using javapoet to generate java files #714

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomridder
Copy link

@tomridder tomridder commented Mar 19, 2023

add function of using javapoet to generate java files #554

benifits:

  1. it is type safe, making it easier to refactor with.
  2. it is more safe because it will add import automaticly
  3. make code more elegent and easy to read by the thought of OOP
    1.txt
    2.txt
    the files are the code generated by javapoet and Bufferwriter
    I check the content they were same the all the test cases in TestModule has been passed :)

@greenrobot-team
Copy link
Collaborator

Thanks for submitting! We'll consider this for an upcoming release.

@tomridder
Copy link
Author

tomridder commented Mar 27, 2023

my pleasure :)

by the way ,what ' the date of next upcoming release

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

Successfully merging this pull request may close these issues.

None yet

2 participants