public class WikiPrinter {
public static void printWikiTable(List<Class<?>> classes) {
System.out.println("^ Name ^ Package ^ Description ^ Parameters ^");
for(Class<?> c : classes) {
Stage s = c.getAnnotation(Stage.class);
System.out.println("| "+c.getSimpleName() + " | " + c.getPackage().getName()+ " | "+s.description()+" | "+getParametersString(c)+" | ");
}
}
public static String getParametersString(Class<?> c) {
ArrayList<String> list = new ArrayList<String>();