Class JavaSourceOrClassFileCachingResource

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.NotifierImpl
org.eclipse.emf.ecore.resource.impl.ResourceImpl
tools.mdsd.jamopp.resource.JavaResource2
org.splevo.jamopp.extraction.resource.JavaSourceOrClassFileCachingResource
All Implemented Interfaces:
Notifier, Resource, Resource.Internal, CachingResource

public class JavaSourceOrClassFileCachingResource extends tools.mdsd.jamopp.resource.JavaResource2 implements CachingResource
JaMoPP java resource using an internal cache for reference resolving. As long as the cache is not explicitly triggered to resolve a resource, proxies will be resolved when required only.
  • Constructor Details

    • JavaSourceOrClassFileCachingResource

      public JavaSourceOrClassFileCachingResource(URI uri, ReferenceCache referenceCache)
      Constructor to set the reference cache the resource should use for resolving.
      Parameters:
      uri - The URI identifying this resource.
      referenceCache - The reference cache to use. If null is provided no cache is used.
  • Method Details