public Object getOwner() { return owner; } public Object getFeature() { return feature; } public int getIndex() { return index;
public Object getOwner() { return owner; } /** * Returns the structural feature through which the value can be set and retrieved, or null if the feature is * unknown or not applicable. */ public EStructuralFeature getFeature() { return feature; } /** * The index at which the value is located, or {@link org.eclipse.emf.edit.command.CommandParameter#NO_INDEX} if the * index isn't known to the wrapper. If {@link #feature} is non-null, this index is within that feature. */ public int getIndex() { return index;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/PasteFromClipboardCommand.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/WrapperItemProvider.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public Object getOwner()
1
public Object getOwner()
2
  {
2
  {
3
    return owner;
3
    return owner;
4
  }
4
  }
5
  public Object getFeature()
5
  
6
  {
7
    return feature;
8
  }
6
/**
7
   * Returns the structural feature through which the value can be set and retrieved, or null if the feature is
8
   * unknown or not applicable.
9
   */
10
  public EStructuralFeature getFeature()
11
  {
12
    return feature;
13
  }
14
  /**
15
   * The index at which the value is located, or {@link org.eclipse.emf.edit.command.CommandParameter#NO_INDEX} if the
16
   * index isn't known to the wrapper. If {@link #feature} is non-null, this index is within that feature. 
17
   */
9
  public int getIndex()
18
  public int getIndex()
10
  {
19
  {
11
    return index;
20
    return index;
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0