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