CloneSet952


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.955executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
162698
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java
262710
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
2698
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java

if (eGenericType == null && EcorePackage.Literals.EOBJECT.getInstanceTypeName().equals(typeName) && requiredClassifierType != RequiredClassifierType.DATA_TYPE) {
  eGenericType = EcoreFactory.eINSTANCE.createEGenericType();
  eGenericType.setEClassifier(EcorePackage.Literals.EOBJECT);
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
2710
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java

// Just to be helpful, we'll recognize a type of org.eclipse.emf.ecore.util.FeatureMap and convert it to EFeatureMapEntry.
// This way a dataType need not be specified. But, we won't do this if recordDemandCreateEDataType is false, so we don't
// change the instanceClass of a new EDataType that's implicitly being defined for FeatureMap.
//
if (eGenericType == null && EcorePackage.Literals.EFEATURE_MAP.getInstanceTypeName().equals(typeName) && requiredClassifierType != RequiredClassifierType.CLASS) {
  eGenericType = EcoreFactory.eINSTANCE.createEGenericType();
  eGenericType.setEClassifier(EcorePackage.Literals.EFEATURE_MAP_ENTRY);
}


Clone AbstractionParameter Count: 3Parameter Bindings

// Just to be helpful, we'll recognize a type of org.eclipse.emf.ecore.util.FeatureMap and convert it to EFeatureMapEntry.
// This way a dataType need not be specified. But, we won't do this if recordDemandCreateEDataType is false, so we don't
// change the instanceClass of a new EDataType that's implicitly being defined for FeatureMap.
//
if (eGenericType == null && EcorePackage.Literals. [[#variable17488420]].getInstanceTypeName().equals(typeName) && requiredClassifierType != RequiredClassifierType. [[#variable174883c0]]) {
  eGenericType = EcoreFactory.eINSTANCE.createEGenericType();
  eGenericType.setEClassifier(EcorePackage.Literals. [[#variable174883a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17488420]]
EOBJECT 
12[[#17488420]]
EFEATURE_MAP 
21[[#174883c0]]
DATA_TYPE 
22[[#174883c0]]
CLASS 
31[[#174883a0]]
EOBJECT 
32[[#174883a0]]
EFEATURE_MAP_ENTRY