public final class ComparisonIndex extends Object
| Modifier and Type | Method and Description |
|---|---|
Collection<ReferenceChange> |
getReferenceChangesByValue(EObject value)
The indexed
ReferenceChanges whose value is in the given Match. |
Collection<ReferenceChange> |
getReferenceChangesByValueMatch(Match valueMatch)
The indexed
ReferenceChanges whose value is in the given Match. |
Collection<ReferenceChange> |
getReferenceChangesByValueURI(URI valueURI)
The indexed
ReferenceChanges whose value has the given URI (only unresolved proxies are indexed
that way). |
static ComparisonIndex |
index(Comparison comparison,
Monitor monitor)
Utility method to index a comparison.
|
public static ComparisonIndex index(Comparison comparison, Monitor monitor)
comparison - The comparison to index, O(nb. diff)monitor - the monitorpublic Collection<ReferenceChange> getReferenceChangesByValue(EObject value)
ReferenceChanges whose value is in the given Match.value - The target EObjectReferenceChanges whose value is in the same match as the
given EObject, or has the same URI.public Collection<ReferenceChange> getReferenceChangesByValueMatch(Match valueMatch)
ReferenceChanges whose value is in the given Match.valueMatch - The target MatchReferenceChanges whose value in the given match.public Collection<ReferenceChange> getReferenceChangesByValueURI(URI valueURI)
ReferenceChanges whose value has the given URI (only unresolved proxies are indexed
that way).valueURI - The URI to look forReferenceChanges whose value is unresolved and has the given
URI
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.