itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_FeatureMapEntry_featureName_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_FeatureMapEntry_featureName_feature", "_UI_FeatureMapEntry_type"),
ChangePackage.Literals.FEATURE_MAP_ENTRY__FEATURE_NAME,
true,
false,
false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
null,
null));
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_FeatureMapEntry_referenceValue_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_FeatureMapEntry_referenceValue_feature", "_UI_FeatureMapEntry_type"),
ChangePackage.Literals.FEATURE_MAP_ENTRY__REFERENCE_VALUE,
true,
false,
false,
null,
null,
null));
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/provider/FeatureMapEntryItemProvider.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/provider/FeatureMapEntryItemProvider.java
|
Method name: void addFeatureNamePropertyDescriptor(Object)
|
|
Method name: void addReferenceValuePropertyDescriptor(Object)
|
Number of AST nodes: 1
|
|
Number of AST nodes: 1
|
|
1 | itemPropertyDescriptors.add↵ | | 1 | itemPropertyDescriptors.add↵
|
2 | (createItemPropertyDescriptor↵ | | 2 | (createItemPropertyDescriptor↵
|
3 | (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),↵ | | 3 | (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),↵
|
4 | getResourceLocator(),↵ | | 4 | getResourceLocator(),↵
|
5 | getString("_UI_FeatureMapEntry_featureName_feature"),↵ | | 5 | getString("_UI_FeatureMapEntry_referenceValue_feature"),↵
|
6 | getString("_UI_PropertyDescriptor_description", "_UI_FeatureMapEntry_featureName_feature", "_UI_FeatureMapEntry_type"),↵ | | 6 | getString("_UI_PropertyDescriptor_description", "_UI_FeatureMapEntry_referenceValue_feature", "_UI_FeatureMapEntry_type"),↵
|
7 | ChangePackage.Literals.FEATURE_MAP_ENTRY__FEATURE_NAME,↵ | | 7 | ChangePackage.Literals.FEATURE_MAP_ENTRY__REFERENCE_VALUE,↵
|
8 | true,↵ | | 8 | true,↵
|
9 | false,↵ | | 9 | false,↵
|
10 | false,↵ | | 10 | false,↵
|
11 | ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,↵ | | 11 | null,↵
|
12 | null,↵ | | 12 | null,↵
|
13 | null)); | | 13 | null));
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 1 |
-
{Non-refactorable}
Mapping Summary
Number of mapped statements | 0 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Unknown type |
Mapped Statements
ID |
Statement |
|
ID |
Statement |
Precondition Violations (0)
Row |
Violation |