protected EObject owner;
/**
* This is the feature of the owner object upon the command will act.
* It could be null, in the case that we are dealing with an {@link org.eclipse.emf.common.util.EList}.
*/
protected EStructuralFeature feature;
/**
* This is the list from which the command will replace.
*/
protected EList<Object> ownerList;
protected EObject owner;
/**
* This is the feature of the owner object upon the command will act.
*/
protected EStructuralFeature feature;
/**
* If non-null, this is the list in which the command will set a value.
* If null, feature is single-valued or no index was specified.
*/
protected EList<Object> ownerList;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/ReplaceCommand.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/SetCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | protected EObject owner;↵ | | 1 | protected EObject owner;↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * This is the feature of the owner object upon the command will act.↵ | | 3 | * This is the feature of the owner object upon the command will act.↵
|
4 | * It could be null, in the case that we are dealing with an {@link org.eclipse.emf.common.util.EList}.↵ | | |
|
5 | */↵ | | 4 | */↵
|
6 | protected EStructuralFeature feature;↵ | | 5 | protected EStructuralFeature feature;↵
|
|
7 | /**↵ | | 6 | /**↵
|
8 | * This is the list from which the command will replace↵ | | 7 | * If non-null, this is the list in which the command will set a value.↵
|
9 | .↵ | | 8 | * If null, feature is single-valued or no index was specified.↵
|
10 | */↵ | | 9 | */↵
|
11 | protected EList<Object> ownerList; | | 10 | protected EList<Object> ownerList;
|
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 |