Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.955 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2698 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java |
2 | 6 | 2710 | 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); } |
| |||||
// 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); } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17488420]] | EOBJECT |
1 | 2 | [[#17488420]] | EFEATURE_MAP |
2 | 1 | [[#174883c0]] | DATA_TYPE |
2 | 2 | [[#174883c0]] | CLASS |
3 | 1 | [[#174883a0]] | EOBJECT |
3 | 2 | [[#174883a0]] | EFEATURE_MAP_ENTRY |