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