@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;
@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/presentation/EcoreEditorPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/importer/java/JavaImporterPlugin.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 -->
10
   * @return the singleton instance.
8
   * @return the singleton instance.
11
   * @generated
12
   */
9
   */
13
  public static Implementation getPlugin()
10
  public static Implementation getPlugin()
14
  {
11
  {
15
    return plugin;
12
    return plugin;
16
  }
13
  }
17
  /**
14
  /**
18
   * The actual implementation of the Eclipse <b>Plugin</b>.
15
   * The actual implementation of the Eclipse <b>Plugin</b>.
19
   * <!-- begin-user-doc -->
20
   * <!-- end-user-doc -->
21
   * @generated
22
   */
16
   */
23
  public static class Implementation extends EclipseUIPlugin
17
  public static class Implementation extends EclipsePlugin
24
  {
18
  {
25
    /**
19
    /**
26
     * Creates an instance.
20
     * Creates an instance.
27
     * <!-- begin-user-doc -->
28
     * <!-- end-user-doc -->
29
     * @generated
30
     */
21
     */
31
    public Implementation()
22
    public Implementation()
32
    {
23
    {
33
      super();
24
      super();
34
  
35
      // Remember the static instance.
25
      // Remember the static instance.
36
      //
26
      //
37
      plugin = this;
27
      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