public final class DataBindingEditPlugin extends EMFPlugin { /** * Keep track of the singleton. */ public static final DataBindingEditPlugin INSTANCE = new DataBindingEditPlugin(); /** * Keep track of the singleton. */ private static Implementation plugin; /** * Create the instance. */ public DataBindingEditPlugin() { super(new ResourceLocator [] {}); } /** * Returns the singleton instance of the Eclipse plugin. * @return the singleton instance. */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * @return the singleton instance. */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. */ public static class Implementation extends EclipsePlugin { /** * Creates an instance. */ public Implementation() { super(); // Remember the static instance. // plugin = this;
public final class ChangePlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final ChangePlugin INSTANCE = new ChangePlugin(); /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private static Implementation plugin; /** * Create the instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ChangePlugin() { super(new ResourceLocator [] {}); } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static class Implementation extends EclipsePlugin { /** * Creates an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Implementation() { super(); // Remember the static instance. // plugin = this;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/databinding/edit/DataBindingEditPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/ChangePlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final class DataBindingEditPlugin extends EMFPlugin
1
public final class ChangePlugin extends EMFPlugin
2
{
2
{
3
  /**
3
  /**
4
   * Keep track of the singleton.
4
   * Keep track of the singleton.
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
5
   */
8
   */
6
  public static final DataBindingEditPlugin INSTANCE = new DataBindingEditPlugin();
9
  public static final ChangePlugin INSTANCE = new ChangePlugin();
7
  /**
10
  /**
8
   * Keep track of the singleton.
11
   * Keep track of the singleton.
9
   */
12
   *
10
  private static Implementation plugin;
11
  /**
12
   * Create the instance.
13
   */
14
  public DataBindingEdit
13
 <!-- begin-user-doc -->
14
   * <!-- end-user-doc -->
15
   * @generated
16
   */
17
  private static Implementation plugin;
18
  /**
19
   * Create the instance.
20
   * <!-- begin-user-doc -->
21
   * <!-- end-user-doc -->
22
   * @generated
23
   */
15
Plugin()
24
  public ChangePlugin()
16
  {
25
  {
17
    super(new ResourceLocator [] {});
26
    super(new ResourceLocator [] {});
18
  }
27
  }
19
  /**
28
  /**
20
   * Returns the singleton instance of the Eclipse plugin.
29
   * Returns the singleton instance of the Eclipse plugin.
30
   * <!-- begin-user-doc -->
31
   * <!-- end-user-doc -->
21
   * @return the singleton instance.
32
   * @return the singleton instance.
33
   * @generated
22
   */
34
   */
23
  @Override
35
  @Override
24
  public ResourceLocator getPluginResourceLocator()
36
  public ResourceLocator getPluginResourceLocator()
25
  {
37
  {
26
    return plugin;
38
    return plugin;
27
  }
39
  }
28
  /**
40
  /**
29
   * Returns the singleton instance of the Eclipse plugin.
41
   * Returns the singleton instance of the Eclipse plugin.
42
   * <!-- begin-user-doc -->
43
   * <!-- end-user-doc -->
30
   * @return the singleton instance.
44
   * @return the singleton instance.
45
   * @generated
31
   */
46
   */
32
  public static Implementation getPlugin()
47
  public static Implementation getPlugin()
33
  {
48
  {
34
    return plugin;
49
    return plugin;
35
  }
50
  }
36
  /**
51
  /**
37
   * The actual implementation of the Eclipse <b>Plugin</b>.
52
   * The actual implementation of the Eclipse <b>Plugin</b>.
53
   * <!-- begin-user-doc -->
54
   * <!-- end-user-doc -->
55
   * @generated
38
   */
56
   */
39
  public static class Implementation extends EclipsePlugin
57
  public static class Implementation extends EclipsePlugin
40
  {
58
  {
41
    /**
59
    /**
42
     * Creates an instance.
60
     * Creates an instance.
61
     * <!-- begin-user-doc -->
62
     * <!-- end-user-doc -->
63
     * @generated
43
     */
64
     */
44
    public Implementation()
65
    public Implementation()
45
    {
66
    {
46
      super();
67
      super();
47
      // Remember the static instance.
68
      // Remember the static instance.
48
      //
69
      //
49
      plugin = this;
70
      plugin = this;
50
    
71
    
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