[go: up one dir, main page]

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

ProcessingEnvironment propagation #8

Open
jvmlet opened this issue Jan 11, 2016 · 2 comments
Open

ProcessingEnvironment propagation #8

jvmlet opened this issue Jan 11, 2016 · 2 comments

Comments

@jvmlet
Copy link
jvmlet commented Jan 11, 2016

Hello
Would you please expose ProcessingEnvironment from ProcessorContext to CodeGeneratorContext so XXXcodeGenerator implementation will have access to ProcessingEnvironment API ?
Thanks

@vbauer
Copy link
Owner
vbauer commented Jan 20, 2016

@jvmlet Hello. It is possible to use ProcessorContextHolder#getProcessingEnvironment() or ProcessorContextHolder#getContext() in any code generator to have access to ProcessingEnvironment API. Is it ok for you?

@jvmlet
Copy link
Author
jvmlet commented Jan 21, 2016

Hi
Yes, I've found this API.
IMHO, it will be cleaner to have this exposed from CodeGeneratorContext

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

2 participants