[Java][Android] made ValidationUtil class compatible with android. (needed for #171).
Android runtime does not seem to bundle the javax.lang.model.SourceVersion and otf processing is not working.