The following warning is issued on the base version by error prone:
warning: [ClassNewInstance] Class.newInstance() bypasses exception
checking; prefer getConstructor().newInstance()
res = main.invoke(clazz.newInstance(), new Object[] {argv});
^
(see http://errorprone.info/bugpattern/ClassNewInstance)
Did you mean 'res = main.invoke(clazz.getConstructor().newInstance(),
new Object[] {argv});'?
Change-Id: I669f2c58ef60257d1b10dca294cc14d5c60e6171