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