Class IResourceScopeCache.NullImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      NullImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear​(org.eclipse.emf.ecore.resource.Resource res)  
      <T> T get​(java.lang.Object key, org.eclipse.emf.ecore.resource.Resource res, com.google.inject.Provider<T> provider)
      A cache associates values to the given resource under the given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullImpl

        public NullImpl()
    • Method Detail

      • get

        public <T> T get​(java.lang.Object key,
                         org.eclipse.emf.ecore.resource.Resource res,
                         com.google.inject.Provider<T> provider)
        Description copied from interface: IResourceScopeCache
        A cache associates values to the given resource under the given key. The default implementation releases any values as soon as a semantic change occurs in any EObjects contained in the given resource.
        Specified by:
        get in interface IResourceScopeCache
        Returns:
        the cached value or what the provider returns if no cached value exists
      • clear

        public void clear​(org.eclipse.emf.ecore.resource.Resource res)
        Specified by:
        clear in interface IResourceScopeCache