public ComposeableAdapterFactory getRootAdapterFactory() { return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); } /** * This sets the direct parent adapter factory into which this factory is composed. */ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { this.parentAdapterFactory = parentAdapterFactory;
public ComposeableAdapterFactory getRootAdapterFactory() { return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); } /** * This sets the composed adapter factory that contains this factory. * @generated */ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { this.parentAdapterFactory = parentAdapterFactory;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/ComposedAdapterFactory.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/resource/ResourceItemProviderAdapterFactory.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public ComposeableAdapterFactory getRootAdapterFactory()
1
public ComposeableAdapterFactory getRootAdapterFactory()
2
  {
2
  {
3
    return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
3
    return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
4
  }
4
  }
5
  /**
5
  /**
6
   * This sets the direct parent adapter factory into which this factory is compos
6
   * This sets the composed adapter factory that contains this factory.
7
ed.
7
   * @generated
8
   */
8
   */
9
  public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
9
  public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
10
  {
10
  {
11
    this.parentAdapterFactory = parentAdapterFactory;
11
    this.parentAdapterFactory = parentAdapterFactory;
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