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