Class CachingImplicitDependencies
java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.logical.resolver.CachingImplicitDependencies
- All Implemented Interfaces:
IImplicitDependencies
An implementation of the
IImplicitDependencies
that delegates the respective dependency calculation
to a given object and caches the results to increase performance.-
Constructor Summary
ConstructorDescriptionCreates a new caching instance that delegates the dependency calculation to the given object and caches the results to increase performance. -
Method Summary
Modifier and TypeMethodDescriptionof
(URI uri, URIConverter uriConverter) Provides a set continaing the given URI plus its implicit dependencies (those that cannot be found by instpecting the cross-references of the resource represented by the given URI).
-
Constructor Details
-
CachingImplicitDependencies
Creates a new caching instance that delegates the dependency calculation to the given object and caches the results to increase performance.- Parameters:
delegate
- The delegate performing the dependency calculation.
-
-
Method Details
-
of
Description copied from interface:IImplicitDependencies
Provides a set continaing the given URI plus its implicit dependencies (those that cannot be found by instpecting the cross-references of the resource represented by the given URI).- Specified by:
of
in interfaceIImplicitDependencies
- Parameters:
uri
- URI of a model resource for which we want the set of related dependenciesuriConverter
- URI Converter to use- Returns:
- Must return a Set that's never null nor empty, that contains at least the given uri, plus its implicit dependencies if it has any..
-