public class FunctionExtractor {
public static void main(String [] args) throws Exception {
System.out.println("<ClassList>");
for (String arg : args) {
Class<?> c = Class.forName(arg);
Description d = c.getAnnotation(Description.class);
if (d == null) {
continue;
}
System.out.print(" <Class javaname=\"");
System.out.print(c.getName());
System.out.print("\" sqlname=\"");
System.out.print(d.name());
System.out.println("\" />");
}
System.out.println("</ClassList>");
}