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 RoseImporterPlugin extends EMFPlugin { /** * The singleton instance of the plugin. */ public static final RoseImporterPlugin INSTANCE = new RoseImporterPlugin(); /** * The one instance of this class. */ private static Implementation plugin; /** * Creates the singleton instance. */ private RoseImporterPlugin() { super(new ResourceLocator [] { ImporterPlugin.INSTANCE }); } /* * Javadoc copied from base class. */ @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;
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/importer/rose/RoseImporterPlugin.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 RoseImporterPlugin extends EMFPlugin
2
{
2
{
3
  /**
3
  /**
4
   * Keep track of the singleton.
4
   * 
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
5
The singleton instance of the plugin.
8
   */
6
   */
9
  public static final ChangeEditPlugin INSTANCE = new ChangeEditPlugin();
7
  public static final RoseImporterPlugin INSTANCE = new RoseImporterPlugin();
10
  /**
8
  /**
11
   * Keep track of the singleton.
9
   * 
12
   * <!-- begin-user-doc -->
13
   * <!-- end-user-doc -->
14
   * @generated
10
The one instance of this class.
15
   */
11
   */
16
  private static Implementation plugin;
12
  private static Implementation plugin;
17
  /**
13
  /**
18
   * Create the instance.
14
   * Creates the sin
19
   * <!-- begin-user-doc -->
20
   * <!-- end-user-doc -->
21
   * @generated
22
   */
23
  public ChangeEdit
15
gleton instance.
16
   */
24
Plugin()
17
  private RoseImporterPlugin()
25
  {
18
  {
26
    super
19
    super
27
      (new ResourceLocator [] 
20
(new ResourceLocator [] 
28
       {
29
         EcoreEditPlugin.INSTANCE,
21
{ ImporterPlugin.INSTANCE
30
       });
22
 });
31
  }
23
  }
32
  /**
24
  /*
33
   * Returns the singleton instance of the Eclipse plugin.
25
   * 
34
   * <!-- begin-user-doc -->
35
   * <!-- end-user-doc -->
36
   * @return the singleton instance.
37
   * @generated
26
Javadoc copied from base class.
38
   */
27
   */
39
  @Override
28
  @Override
40
  public ResourceLocator getPluginResourceLocator()
29
  public ResourceLocator getPluginResourceLocator()
41
  {
30
  {
42
    return plugin;
31
    return plugin;
43
  }
32
  }
44
  /**
33
  /**
45
   * Returns the singleton instance of the Eclipse plugin.
34
   * Returns the singleton instance of the Eclipse plugin.
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
48
   * @return the singleton instance.
35
   * @return the singleton instance.
49
   * @generated
50
   */
36
   */
51
  public static Implementation getPlugin()
37
  public static Implementation getPlugin()
52
  {
38
  {
53
    return plugin;
39
    return plugin;
54
  }
40
  }
55
  /**
41
  /**
56
   * The actual implementation of the Eclipse <b>Plugin</b>.
42
   * The actual implementation of the Eclipse <b>Plugin</b>.
57
   * <!-- begin-user-doc -->
58
   * <!-- end-user-doc -->
59
   * @generated
60
   */
43
   */
61
  public static class Implementation extends EclipsePlugin
44
  public static class Implementation extends EclipsePlugin
62
  {
45
  {
63
    /**
46
    /**
64
     * Creates an instance.
47
     * Creates an instance.
65
     * <!-- begin-user-doc -->
66
     * <!-- end-user-doc -->
67
     * @generated
68
     */
48
     */
69
    public Implementation()
49
    public Implementation()
70
    {
50
    {
71
      super();
51
      super();
72
      // Remember the static instance.
52
      // Remember the static instance.
73
      //
53
      //
74
      plugin = this;
54
      plugin = this;
75
    
55
    
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