writer.println("workspace.addTool(\"" + loadTool.group() + "\"," +
" \"" + loadTool.name() + "\", \"" + loadTool.icon() + "\", " + loadTool.multipleAllowed()
+ ", " + loadTool.priority() + ", new " + clazz.getName() + "(), " + rolesBuilder.toString() + ");");
} else {
writer.println("workspace.addTool(\"" + loadTool.group() + "\"," +
" \"" + loadTool.name() + "\", \"" + loadTool.icon() + "\", " + loadTool.multipleAllowed()
+ ", " + loadTool.priority() + ", new " + clazz.getName() + "());");
}
} else if (clazz.isAnnotationPresent(LoginComponent.class)) {
writer.println("workspace.setLoginComponent(new " + clazz.getName() + "());");