getOrCreateScope static method
Implementation
static Scope getOrCreateScope(final List<Module> modules, final String scopeId, final String scopeName) {
final scope = _resolveScope(scopeId);
if (scope != null) {
return getScope(scopeId);
} else {
return createScope(modules, scopeId, scopeName);
}
}