* Returns the name of the module which matches the supplied module name, that is, the
* first module found whose name contains that of the supplied module name
*/
public String findModuleNameLike(String moduleName) {
RootModuleDefinition rootModuleDefinition = getModuleStateHolder().getRootModuleDefinition();
ModuleDefinition definition = rootModuleDefinition.findChildDefinition(moduleName, false);
if (definition != null) {
return definition.getName();
}
return null;
}