Interface IResourceScopeCache

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • get

        <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. The default implementation releases any values as soon as a semantic change occurs in any EObjects contained in the given resource.
        Returns:
        the cached value or what the provider returns if no cached value exists
      • clear

        void clear​(org.eclipse.emf.ecore.resource.Resource res)