File path: /emf-2.4.1/src/org/eclipse/emf/ecore/provider/EStructuralFeatureItemProvider.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/provider/ETypedElementItemProvider.java | |||
Method name: void addDerivedPropertyDescriptor(Object)
|
Method name: void addUniquePropertyDescriptor(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_EStructuralFeature_derived_feature"),↵ | 5 | getString("_UI_ETypedElement_unique_feature"),↵ | |
6 | getString("_UI_EStructuralFeature_derived_description"),↵ | 6 | getString("_UI_ETypedElement_unique_description"),↵ | |
7 | EcorePackage.Literals.ESTRUCTURAL_FEATURE__DERIVED,↵ | 7 | EcorePackage.Literals.ETYPED_ELEMENT__UNIQUE,↵ | |
8 | true,↵ | 8 | true,↵ | |
9 | false,↵ | 9 | false,↵ | |
10 | false,↵ | 10 | false,↵ | |
11 | ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,↵ | 11 | ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,↵ | |
12 | null,↵ | 12 | null,↵ | |
13 | null)); | 13 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 1 |
Number of mapped statements | 1 |
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 | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_EStructuralFeature_derived_feature"), getString("_UI_EStructuralFeature_derived_description"), EcorePackage.Literals.ESTRUCTURAL_FEATURE__DERIVED, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); |
| 1 | itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ETypedElement_unique_feature"), getString("_UI_ETypedElement_unique_description"), EcorePackage.Literals.ETYPED_ELEMENT__UNIQUE, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); |
Row | Violation |
---|