Stack scopeStack = (Stack) type2ScopeStack.get(definitionType);
if (scopeStack == null) {
scopeStack = new ArrayListStack();
type2ScopeStack.put(definitionType, scopeStack);
}
DefinitionScope scope = new DefinitionScopeImpl(definitionType);
scopeStack.push(scope);
return scope;
}