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