CloneSet455


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.962method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
142497
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
242509
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
342521
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
Next
Last
Clone Instance
1
Line Count
4
Source Line
2497
Source File
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);
}


Next
Previous
Clone Instance
2
Line Count
4
Source Line
2509
Source File
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 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);
}


First
Previous
Clone Instance
3
Line Count
4
Source Line
2521
Source File
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 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);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#172c8340]]
EObject 
12[[#172c8340]]
Resource 
13[[#172c8340]]
ResourceSet 
21[[#172c80a0]]
eObject 
22[[#172c80a0]]
resource 
23[[#172c80a0]]
resourceSet