vbauer/jackdaw

ProcessingEnvironment propagation

jvmlet opened this issue · 2 comments

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

@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?

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