public boolean shouldSaveType(EClass objectType, EClassifier featureType, EStructuralFeature feature)
{
return
feature != EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES &&
(xmlTypeInfo == null ?
super.shouldSaveType(objectType, featureType, feature) :
xmlTypeInfo.shouldSaveType(objectType, featureType, feature));
public boolean shouldSaveType(EClass objectType, EClass featureType, EStructuralFeature feature)
{
return
feature != EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES &&
(xmlTypeInfo == null ?
super.shouldSaveType(objectType, featureType, feature) :
xmlTypeInfo.shouldSaveType(objectType, featureType, feature));
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/EMOFSaveImpl.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/EMOFSaveImpl.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public boolean shouldSaveType(EClass objectType, EClassifier featureType, EStructuralFeature feature)↵ | | 1 | public boolean shouldSaveType(EClass objectType, EClass featureType, EStructuralFeature feature)↵
|
2 | {↵ | | 2 | {↵
|
3 | return ↵ | | 3 | return ↵
|
4 | feature != EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES &&↵ | | 4 | feature != EcorePackage.Literals.ECLASS__ESTRUCTURAL_FEATURES &&↵
|
5 | (xmlTypeInfo == null ? ↵ | | 5 | (xmlTypeInfo == null ? ↵
|
6 | super.shouldSaveType(objectType, featureType, feature) : ↵ | | 6 | super.shouldSaveType(objectType, featureType, feature) : ↵
|
7 | xmlTypeInfo.shouldSaveType(objectType, featureType, feature));↵ | | 7 | xmlTypeInfo.shouldSaveType(objectType, featureType, feature));↵
|
8 | | | 8 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |