if (!isEmpty(moduleProviderName)) {
try {
Class<?> moduleProviderClass = Class.forName(moduleProviderName);
ModuleProvider moduleProvider =
(ModuleProvider)FastClass.create(moduleProviderClass).newInstance();
Collection<Module> providedModules = moduleProvider.getModules();
if (providedModules != null) {
modules.addAll(providedModules);
}
} catch (Exception e) {