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

Use annotation processing for code generation #6

Open
johnlcox opened this issue Jun 26, 2015 · 1 comment
Open

Use annotation processing for code generation #6

johnlcox opened this issue Jun 26, 2015 · 1 comment
Milestone

Comments

@johnlcox
Copy link
Owner

The code-generation branch is already beginning to add the ability to generate all of the case permutations for a given type (e.g. Tuple2 or List) so that they don't have to be handwritten. Currently this requires generating the code and then copying it into a class file.

It would be nice if there was an annotation that could be added to generator classes such that the Cases code gets generated automagically as part of the compile.

@johnlcox johnlcox added this to the 1.0 milestone Jun 26, 2015
@jbgi
Copy link

jbgi commented Oct 18, 2015

You may be interested in https://github.com/derive4j/derive4j that does exactly that.

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

No branches or pull requests

2 participants