File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EClassifierImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EClassifierImpl.java | |||
Method name: void setInstanceTypeName(String)
|
Method name: void basicSetInstanceTypeName(String)
|
|||
Number of AST nodes: 2 | Number of AST nodes: 2 | |||
1 | if (eNotificationRequired())↵ | 1 | if (eNotificationRequired())↵ | |
2 | {↵ | 2 | {↵ | |
3 | eNotify↵ | 3 | eNotify↵ | |
4 | (new ENotificationImpl(this, Notification.SET, EcorePackage.ECLASSIFIER__INSTANCE_TYPE_NAME, oldInstanceTypeName, newInstanceTypeName));↵ | 4 | (new ENotificationImpl(this, Notification.SET, EcorePackage.ECLASSIFIER__INSTANCE_TYPE_NAME, oldInstanceTypeName, newInstanceTypeName));↵ | |
5 | } | 5 |
| |
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.1 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 4 |
Number of mapped statements | 2 |
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.5 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
28 | if (eNotificationRequired()) | 3 | if (eNotificationRequired()) | |
29 | eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ECLASSIFIER__INSTANCE_TYPE_NAME, oldInstanceTypeName, newInstanceTypeName)); | 4 | eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ECLASSIFIER__INSTANCE_TYPE_NAME, oldInstanceTypeName, newInstanceTypeName)); |
Row | Violation |
---|