File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicFeatureMap.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java | |||
Method name: void clear(EStructuralFeature)
|
Method name: void clear(EStructuralFeature)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | dispatchNotification↵ | 1 | dispatchNotification↵ | |
2 | (feature.isMany() ?↵ | 2 | (feature.isMany() ?↵ | |
3 | createNotification↵ | 3 | createNotification↵ | |
4 | (Notification.REMOVE_MANY,↵ | 4 | (Notification.REMOVE_MANY,↵ | |
5 | feature,↵ | 5 | feature,↵ | |
6 | Collections.EMPTY_LIST,↵ | 6 | Collections.EMPTY_LIST,↵ | |
7 | null, ↵ | 7 | null, ↵ | |
8 | Notification.NO_INDEX,↵ | 8 | Notification.NO_INDEX,↵ | |
9 | false) :↵ | 9 | false) :↵ | |
10 | createNotification↵ | 10 | createNotification↵ | |
11 | (feature.isUnsettable() ? Notification.UNSET : Notification.SET, ↵ | 11 | (feature.isUnsettable() ? Notification.UNSET : Notification.SET, ↵ | |
12 | feature,↵ | 12 | feature,↵ | |
13 | null,↵ | 13 | null,↵ | |
14 | null, ↵ | 14 | null, ↵ | |
15 | Notification.NO_INDEX,↵ | 15 | Notification.NO_INDEX,↵ | |
16 | false)); | 16 |
| |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
9 | dispatchNotification(feature.isMany() ? createNotification(Notification.REMOVE_MANY, feature, Collections.EMPTY_LIST, null, Notification.NO_INDEX, false) : createNotification(feature.isUnsettable() ? Notification.UNSET : Notification.SET, feature, null, null, Notification.NO_INDEX, false)); | 8 | dispatchNotification(feature.isMany() ? createNotification(Notification.REMOVE_MANY, feature, Collections.EMPTY_LIST, null, Notification.NO_INDEX, false) : createNotification(feature.isUnsettable() ? Notification.UNSET : Notification.SET, feature, null, null, Notification.NO_INDEX, false)); |
Row | Violation |
---|