* @param scope the scope you want the cache for.
* @return the ASScopeCache for the scope
*/
public ASScopeCache getCacheForScope(ASScope scope)
{
ASScopeCache scopeCache = null;
// First check and see if we have the result cached in the thread local cache
Map<ASScope, WeakReference<ASScopeCache>> cache = threadLocalScopeCache.get();
WeakReference<ASScopeCache> ref = cache.get(scope);
scopeCache = ref != null ? ref.get() : null;