Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.962 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 2497 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java |
2 | 4 | 2509 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java |
3 | 4 | 2521 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java |
| |||||
/** * 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 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 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 resourceSet a resource set whose content tree should be considered. * @return a map of cross references. */ /** * 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. */ /** * 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, [[#variable172c8340]] [[#variable172c80a0]]) { return new UsageCrossReferencer( [[#variable172c80a0]]).findAllUsage(eObjectsOfInterest); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#172c8340]] | EObject |
1 | 2 | [[#172c8340]] | Resource |
1 | 3 | [[#172c8340]] | ResourceSet |
2 | 1 | [[#172c80a0]] | eObject |
2 | 2 | [[#172c80a0]] | resource |
2 | 3 | [[#172c80a0]] | resourceSet |