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