/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param resourceSet a resource set whose content tree should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, ResourceSet resourceSet) { return new UsageCrossReferencer(resourceSet).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param resource a resource whose content tree should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, Resource resource) { return new UsageCrossReferencer(resource).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param eObject an object whose content trees should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, EObject eObject) { return new UsageCrossReferencer(eObject).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param eObject an object whose content trees should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, EObject eObject) { return new UsageCrossReferencer(eObject).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param resourceSet a resource set whose content tree should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, ResourceSet resourceSet) { return new UsageCrossReferencer(resourceSet).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the combined content trees of the specified collection of objects. * @param eObjectOfInterest the usage target. * @param emfObjectsToSearch a collection of objects whose combined content trees should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, Collection<?> emfObjectsToSearch) { return new UsageCrossReferencer(emfObjectsToSearch).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the specified content tree. * @param eObjectOfInterest the usage target. * @param resource a resource whose content tree should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, Resource resource) { return new UsageCrossReferencer(resource).findUsage(eObjectOfInterest); }
/** * Returns a collection of usage references from the combined content trees of the specified collection of objects. * @param eObjectOfInterest the usage target. * @param emfObjectsToSearch a collection of objects whose combined content trees should be considered. * @return a collection of cross references. */ public static Collection<EStructuralFeature.Setting> find(EObject eObjectOfInterest, Collection<?> emfObjectsToSearch) { return new UsageCrossReferencer(emfObjectsToSearch).findUsage(eObjectOfInterest); }