}
} finally {
br.close();
}
DumpingInvocationMethodFactory dumper = new DumpingInvocationMethodFactory(args[1], new JRubyClassLoader(ClassLoader.getSystemClassLoader()));
for (String name : classNames) {
MethodClumper clumper = new MethodClumper();
try {
if (DEBUG) LOG.debug("generating for class {}", name);
Class cls = Class.forName(name, false, InvokerGenerator.class.getClassLoader());
clumper.clump(cls);
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getStaticAnnotatedMethods().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getAnnotatedMethods().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getStaticAnnotatedMethods1_8().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getAnnotatedMethods1_8().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getStaticAnnotatedMethods1_9().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getAnnotatedMethods1_9().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getStaticAnnotatedMethods2_0().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
for (Map.Entry<String, List<JavaMethodDescriptor>> entry : clumper.getAnnotatedMethods2_0().entrySet()) {
dumper.getAnnotatedMethodClass(entry.getValue());
}
} catch (Exception e) {
e.printStackTrace();
throw e;
}