make Generate#generate method public for automation
@@ -1061,7 +1061,7 @@ public final class Generate {
generate(args, type, System.out);
}
- static void generate(final String[] args, final Type type, final PrintStream printStream) {
+ public static void generate(final String[] args, final Type type, final PrintStream printStream) {
if (!validate(args)) {
usage(printStream, type.generator());
System.exit(-1);
