public static String getControllerName(Template template, GeneratorBean bean) { Table table = (Table) bean; return I18nUtils.plurialize(FormatUtils.getJavaName(table.getAlias())); }