CloneSet485


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.964method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115466
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java
215486
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
466
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java

/**
 * This implementation will call {@link IUpdateableItemParent#setParent IUpdateableItemParent.setParent}, if appropriate.
 */
@Override protected NotificationChain inverseAdd(Object object, NotificationChain notifications) {
  Object adapter = object;
  if (adapterFactory != null) {
    adapter = adapterFactory.adapt(object, IUpdateableItemParent.class );
  }
  if (adapter instanceof IUpdateableItemParent) {
    ((IUpdateableItemParent) adapter).setParent(object, ItemProvider.this );
  }
  return notifications;
}


First
Previous
Clone Instance
2
Line Count
15
Source Line
486
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java

/**
 * This implementation will call {@link IUpdateableItemParent#setParent IUpdateableItemParent.setParent}, if appropriate.
 */
@Override protected NotificationChain inverseRemove(Object object, NotificationChain notifications) {
  Object adapter = object;
  if (adapterFactory != null) {
    adapter = adapterFactory.adapt(object, IUpdateableItemParent.class );
  }
  if (adapter instanceof IUpdateableItemParent) {
    ((IUpdateableItemParent) adapter).setParent(object, null);
  }
  return notifications;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * This implementation will call {@link IUpdateableItemParent#setParent IUpdateableItemParent.setParent}, if appropriate.
     */
@Override protected NotificationChain  [[#variable172fcfe0]](Object object, NotificationChain notifications) {
  Object adapter = object;
  if (adapterFactory != null) {
    adapter = adapterFactory.adapt(object, IUpdateableItemParent.class );
  }
  if (adapter instanceof IUpdateableItemParent) {
    ((IUpdateableItemParent) adapter).setParent(object,  [[#variable172fcf20]]);
  }
  return notifications;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#172fcfe0]]
inverseAdd 
12[[#172fcfe0]]
inverseRemove 
21[[#172fcf20]]
ItemProvider.this 
22[[#172fcf20]]
null