Relates :
|
JSR 269 includes a getSupportedSourceVersion method on the Processor interface to allow the processor to declare to the tool the latest source level it supports. This implies a processor should accept inputs from earlier source levels too. However, if an earlier source level is in effect, a processor should be able to query what the *output* source level is so it can raise an error or output appropriate source and/or class files.
|