Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 2453 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java |
2 | 3 | 2464 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java |
3 | 3 | 2475 | 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); } |
| |||||
/** * 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 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 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#173810c0]] | EObject |
1 | 2 | [[#173810c0]] | Resource |
1 | 3 | [[#173810c0]] | ResourceSet |
2 | 1 | [[#17380fe0]] | eObject |
2 | 2 | [[#17380fe0]] | resource |
2 | 3 | [[#17380fe0]] | resourceSet |