Hi Mark,

> - configure your factory using environment options to avoid having to
> pass an instance in

I think that could work for the annotation processors that we're currently
working on.  I guess it depends on how complex the configuration data
becomes.  It would be nice to just inject a factory with its dependencies
and then send it in.

> Is your plugin hosted anywhere yet or is it under development?

No, not hosted yet.  We (a coworker and I) are developing it as a side
project outside of work.

> - the tools.jar dependency needs to be added in order to obtain the
> process(AnnotationProcessorFactory, PrintWriter, String...) method,
> since reflection requires AnnotationProcessorFactory.class

Yeah, I'm looking into that roadblock now.  I think that can be overcome
with some more reflection contortions.  Maybe by keying with the
AnnotationProcessorFactory class name when searching for the method to
invoke.  AptUtils' signature could just list 'Object'.

----------------------

We'll probably send a patch your way for inspection within the next week or
two.  On another note, is there a reason the code is capped at 1.4?  What do
you think about a 1.5 uplift?


Regards,

Luke

Reply via email to