public final class ChangeEditPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final ChangeEditPlugin INSTANCE = new ChangeEditPlugin(); /** * 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 ChangeEditPlugin() { super (new ResourceLocator [] { 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 Ecore2XMLUIPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final Ecore2XMLUIPlugin INSTANCE = new Ecore2XMLUIPlugin(); /** * 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 Ecore2XMLUIPlugin() { super (new ResourceLocator [] { 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/ecore/change/provider/ChangeEditPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/ui/Ecore2XMLUIPlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final class ChangeEditPlugin extends EMFPlugin
1
public final class Ecore2XMLUIPlugin 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 ChangeEditPlugin INSTANCE = new ChangeEditPlugin();
9
  public static final Ecore2XMLUIPlugin INSTANCE = new Ecore2XMLUIPlugin();
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 ChangeEditPlugin()
23
  public Ecore2XMLUIPlugin()
24
  {
24
  {
25
    super
25
    super
26
      (new ResourceLocator [] 
26
      (new ResourceLocator [] 
27
       {
27
      {
28
         EcoreEditPlugin.INSTANCE,
28
        EcoreEditPlugin.INSTANCE,
29
       });
29
      });
30
  }
30
  }
31
  /**
31
  /**
32
   * Returns the singleton instance of the Eclipse plugin.
32
   * Returns the singleton instance of the Eclipse plugin.
33
   * <!-- begin-user-doc -->
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
34
   * <!-- end-user-doc -->
35
   * @return the singleton instance.
35
   * @return the singleton instance.
36
   * @generated
36
   * @generated
37
   */
37
   */
38
  @Override
38
  @Override
39
  public ResourceLocator getPluginResourceLocator()
39
  public ResourceLocator getPluginResourceLocator()
40
  {
40
  {
41
    return plugin;
41
    return plugin;
42
  }
42
  }
43
  /**
43
  /**
44
   * Returns the singleton instance of the Eclipse plugin.
44
   * Returns the singleton instance of the Eclipse plugin.
45
   * <!-- begin-user-doc -->
45
   * <!-- begin-user-doc -->
46
   * <!-- end-user-doc -->
46
   * <!-- end-user-doc -->
47
   * @return the singleton instance.
47
   * @return the singleton instance.
48
   * @generated
48
   * @generated
49
   */
49
   */
50
  public static Implementation getPlugin()
50
  public static Implementation getPlugin()
51
  {
51
  {
52
    return plugin;
52
    return plugin;
53
  }
53
  }
54
  /**
54
  /**
55
   * The actual implementation of the Eclipse <b>Plugin</b>.
55
   * The actual implementation of the Eclipse <b>Plugin</b>.
56
   * <!-- begin-user-doc -->
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @generated
58
   * @generated
59
   */
59
   */
60
  public static class Implementation extends EclipsePlugin
60
  public static class Implementation extends EclipseUIPlugin
61
  {
61
  {
62
    /**
62
    /**
63
     * Creates an instance.
63
     * Creates an instance.
64
     * <!-- begin-user-doc -->
64
     * <!-- begin-user-doc -->
65
     * <!-- end-user-doc -->
65
     * <!-- end-user-doc -->
66
     * @generated
66
     * @generated
67
     */
67
     */
68
    public Implementation()
68
    public Implementation()
69
    {
69
    {
70
      super();
70
      super();
71
  
71
      // Remember the static instance.
72
      // Remember the static instance.
72
      //
73
      //
73
      plugin = this;
74
      plugin = this;
74
    
75
    
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