final Map mapSource = new ScopeMap(file, scopeMask);
final IMapTypeDescriptor typeDesc = SymbolFactory.eINSTANCE
.createIBoundedMapTypeDescriptor();
typeDesc.setMapSource(mapSource);
typeDesc.setImmutable(false); // scope maps are mutable
final IInstanceSymbol symbol = SymbolFactory.eINSTANCE
.createIInstanceSymbol();
symbol.setName(name);
symbol.setRuntimeSource(ERuntimeSource.BUILT_IN_SYMBOL_LITERAL);
symbol.setTypeDescriptor(typeDesc);
// TODO:symbol.setDetailedDescription("A Map of the application scope
// attribute values, keyed by attribute name");
return symbol;
}