String[] moduleNames = doDefinitionSplit();
for (String moduleName : moduleNames) {
int openBracketIndex = moduleName.indexOf('(');
if (openBracketIndex < 0) {
new SimpleModuleDefinition(moduleDefinition, moduleName);
}
else {
int closeBracketIndex = moduleName.indexOf(')');
// doDefinitionSplit() will check this, but just to make sure
Assert.isTrue(closeBracketIndex > openBracketIndex);