CloneSet622


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.952method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
132453
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
232464
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
332475
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
2453
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java

/**
 * 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);
}


Next
Previous
Clone Instance
2
Line Count
3
Source Line
2464
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java

/**
 * 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);
}


First
Previous
Clone Instance
3
Line Count
3
Source Line
2475
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java

/**
 * 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);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * 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.
     */
/**
     * 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.
     */
/**
     * 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, [[#variable173810c0]]  [[#variable17380fe0]]) {
  return new UsageCrossReferencer( [[#variable17380fe0]]).findUsage(eObjectOfInterest);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#173810c0]]
EObject 
12[[#173810c0]]
Resource 
13[[#173810c0]]
ResourceSet 
21[[#17380fe0]]
eObject 
22[[#17380fe0]]
resource 
23[[#17380fe0]]
resourceSet