CloneSet44


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
45330.964class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1451860
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
2452611
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
3452720
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java
Next
Last
Clone Instance
1
Line Count
45
Source Line
1860
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreUtil.java

/**
 * Returns the map of external cross references for this cross referencer.
 * @return a map of cross references.
 */
protected Map<EObject, Collection<EStructuralFeature.Setting>> findExternalCrossReferences() {
  crossReference();
  done();
  return this ;
}

/**
 * Returns a map of all external cross references from the specified content tree.
 * @param eObject an object whose content trees should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject) {
  return new ExternalCrossReferencer(eObject).findExternalCrossReferences();
}

/**
 * Returns a map of all external cross references from the specified content tree.
 * @param resource a resource whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource) {
  return new ExternalCrossReferencer(resource).findExternalCrossReferences();
}

/**
 * Returns a map of all external cross references from the specified content tree.
 * @param resourceSet a resourceSet whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet) {
  return new ExternalCrossReferencer(resourceSet).findExternalCrossReferences();
}

/**
 * Returns a map of all external cross references from the combined content trees of the specified collection of objects.
 * @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>> find(Collection<? > emfObjectsToSearch) {
  return new ExternalCrossReferencer(emfObjectsToSearch).findExternalCrossReferences();
}


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

/**
 * Returns the map of proxy references for this cross referencer.
 * @return a map of cross references.
 */
protected Map<EObject, Collection<EStructuralFeature.Setting>> findProxyCrossReferences() {
  crossReference();
  done();
  return this ;
}

/**
 * Returns a map of all proxy references from the specified content tree.
 * @param eObject an object whose content trees should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject) {
  return new ProxyCrossReferencer(eObject).findProxyCrossReferences();
}

/**
 * Returns a map of all proxy references from the specified content tree.
 * @param resource a resource whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource) {
  return new ProxyCrossReferencer(resource).findProxyCrossReferences();
}

/**
 * Returns a map of all proxy references from the specified content tree.
 * @param resourceSet a resourceSet whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet) {
  return new ProxyCrossReferencer(resourceSet).findProxyCrossReferences();
}

/**
 * Returns a map of all proxy references from the specified content tree.
 * @param emfObjects a collection of objects whose combined content trees should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Collection<? > emfObjects) {
  return new ProxyCrossReferencer(emfObjects).findProxyCrossReferences();
}


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

/**
 * Returns the map of unresolvable proxies for this cross referencer.
 * @return a map of cross references.
 */
protected Map<EObject, Collection<EStructuralFeature.Setting>> findUnresolvedProxyCrossReferences() {
  crossReference();
  done();
  return this ;
}

/**
 * Returns a map of all unresolvable proxies from the specified content tree.
 * @param eObject an object whose content trees should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject) {
  return new UnresolvedProxyCrossReferencer(eObject).findUnresolvedProxyCrossReferences();
}

/**
 * Returns a map of all unresolvable proxies from the specified content tree.
 * @param resource a resource whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource) {
  return new UnresolvedProxyCrossReferencer(resource).findUnresolvedProxyCrossReferences();
}

/**
 * Returns a map of all unresolvable proxies from the specified content tree.
 * @param resourceSet a resourceSet whose content tree should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet) {
  return new UnresolvedProxyCrossReferencer(resourceSet).findUnresolvedProxyCrossReferences();
}

/**
 * Returns a map of all unresolvable proxies from the specified content tree.
 * @param emfObjects a collection of objects whose combined content trees should be considered.
 * @return a map of cross references.
 */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Collection<? > emfObjects) {
  return new UnresolvedProxyCrossReferencer(emfObjects).findUnresolvedProxyCrossReferences();
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Returns the map of external cross references for this cross referencer.
     * @return a map of cross references.
     */
/**
     * Returns the map of proxy references for this cross referencer.
     * @return a map of cross references.
     */
/**
     * Returns the map of unresolvable proxies for this cross referencer.
     * @return a map of cross references.
     */
protected Map<EObject, Collection<EStructuralFeature.Setting>>  [[#variable1469c700]]() {
  crossReference();
  done();
  return this ;
}

/**
     * Returns a map of all external cross references from the specified content tree.
     * @param eObject an object whose content trees should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all proxy references from the specified content tree.
     * @param eObject an object whose content trees should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all unresolvable proxies from the specified content tree.
     * @param eObject an object whose content trees should be considered.
     * @return a map of cross references.
     */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(EObject eObject) {
  return new [[#variable1469c660]](eObject). [[#variable1469c700]]();
}

/**
     * Returns a map of all external cross references from the specified content tree.
     * @param resource a resource whose content tree should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all proxy references from the specified content tree.
     * @param resource a resource whose content tree should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all unresolvable proxies from the specified content tree.
     * @param resource a resource whose content tree should be considered.
     * @return a map of cross references.
     */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Resource resource) {
  return new [[#variable1469c660]](resource). [[#variable1469c700]]();
}

/**
     * Returns a map of all external cross references from the specified content tree.
     * @param resourceSet a resourceSet whose content tree should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all proxy references from the specified content tree.
     * @param resourceSet a resourceSet whose content tree should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all unresolvable proxies from the specified content tree.
     * @param resourceSet a resourceSet whose content tree should be considered.
     * @return a map of cross references.
     */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet) {
  return new [[#variable1469c660]](resourceSet). [[#variable1469c700]]();
}

/**
     * Returns a map of all external cross references from the combined content trees of the specified collection of objects.
     * @param emfObjectsToSearch a collection of objects whose combined content trees should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all proxy references from the specified content tree.
     * @param emfObjects a collection of objects whose combined content trees should be considered.
     * @return a map of cross references.
     */
/**
     * Returns a map of all unresolvable proxies from the specified content tree.
     * @param emfObjects a collection of objects whose combined content trees should be considered.
     * @return a map of cross references.
     */
public static Map<EObject, Collection<EStructuralFeature.Setting>> find(Collection<? >  [[#variable1469c640]]) {
  return new [[#variable1469c660]]( [[#variable1469c640]]). [[#variable1469c700]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1469c700]]
findExternalCrossReferences 
12[[#1469c700]]
findProxyCrossReferences 
13[[#1469c700]]
findUnresolvedProxyCrossReferences 
21[[#1469c660]]
ExternalCrossReferencer 
22[[#1469c660]]
ProxyCrossReferencer 
23[[#1469c660]]
UnresolvedProxyCrossReferencer 
31[[#1469c640]]
emfObjectsToSearch 
32[[#1469c640]]
emfObjects 
33[[#1469c640]]
emfObjects