@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;
@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/converter/ConverterPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/mapping/ecore2ecore/Ecore2EcorePlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
@Override
1
@Override
2
  public ResourceLocator getPluginResourceLocator()
2
  public ResourceLocator getPluginResourceLocator()
3
  {
3
  {
4
    return plugin;
4
    return plugin;
5
  }
5
  }
6
  /**
6
  /**
7
   * Returns the singleton instance of the Eclipse plugin.
7
   * Returns the singleton instance of the Eclipse plugin.
8
   * <!-- begin-user-doc -->
9
   * <!-- end-user-doc -->
8
   * @return the singleton instance.
10
   * @return the singleton instance.
11
   * @generated
9
   */
12
   */
10
  public static Implementation getPlugin()
13
  public static Implementation getPlugin()
11
  {
14
  {
12
    return plugin;
15
    return plugin;
13
  }
16
  }
14
  /**
17
  /**
15
   * The actual implementation of the Eclipse <b>Plugin</b>.
18
   * The actual implementation of the Eclipse <b>Plugin</b>.
19
   * <!-- begin-user-doc -->
20
   * <!-- end-user-doc -->
21
   * @generated
16
   */
22
   */
17
  public static class Implementation extends EclipsePlugin
23
  public static class Implementation extends EclipsePlugin
18
  {
24
  {
19
    /**
25
    /**
20
     * Creates an instance.
26
     * Creates an instance.
27
     * <!-- begin-user-doc -->
28
     * <!-- end-user-doc -->
29
     * @generated
21
     */
30
     */
22
    public Implementation()
31
    public Implementation()
23
    {
32
    {
24
      super();
33
      super();
25
      // Remember the static instance.
34
      // Remember the static instance.
26
      //
35
      //
27
      plugin = this;
36
      plugin = this;
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