public final class DataBindingPlugin extends EMFPlugin { /** * Keep track of the singleton. */ public static final DataBindingPlugin INSTANCE = new DataBindingPlugin(); /** * Keep track of the singleton. */ private static Implementation plugin; /** * Create the instance. */ public DataBindingPlugin() { super(new ResourceLocator [] {}); } /** * Returns the singleton instance of the Eclipse plugin. * @return the singleton instance. */ @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;
public final class EcoreEditorPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin(); /** * 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 EcoreEditorPlugin() { 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 EclipseUIPlugin { /** * 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/databinding/DataBindingPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditorPlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final class DataBindingPlugin extends EMFPlugin
1
public final class EcoreEditorPlugin extends EMFPlugin
2
{
2
{
3
  /**
3
  /**
4
   * Keep track of the singleton.
4
   * Keep track of the singleton.
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
5
   */
8
   */
6
  public static final DataBindingPlugin INSTANCE = new DataBindingPlugin();
9
  public static final EcoreEditorPlugin INSTANCE = new EcoreEditorPlugin();
7
  /**
10
  /**
8
   * Keep track of the singleton.
11
   * Keep track of the singleton.
9
   */
12
   *
10
  private static Implementation plugin;
11
  /**
12
   * Create the instance.
13
   */
14
  public DataBinding
13
 <!-- begin-user-doc -->
14
   * <!-- end-user-doc -->
15
   * @generated
16
   */
17
  private static Implementation plugin;
18
  /**
19
   * Create the instance.
20
   * <!-- begin-user-doc -->
21
   * <!-- end-user-doc -->
22
   * @generated
23
   */
15
Plugin()
24
  public EcoreEditorPlugin()
16
  {
25
  {
17
    super
26
    super
18
(new ResourceLocator [] {
27
      (new ResourceLocator [] 
28
      {
19
});
29
      });
20
  }
30
  }
21
  /**
31
  /**
22
   * Returns the singleton instance of the Eclipse plugin.
32
   * Returns the singleton instance of the Eclipse plugin.
33
   * <!-- begin-user-doc -->
34
   * <!-- end-user-doc -->
23
   * @return the singleton instance.
35
   * @return the singleton instance.
36
   * @generated
24
   */
37
   */
25
  @Override
38
  @Override
26
  public ResourceLocator getPluginResourceLocator()
39
  public ResourceLocator getPluginResourceLocator()
27
  {
40
  {
28
    return plugin;
41
    return plugin;
29
  }
42
  }
30
  /**
43
  /**
31
   * Returns the singleton instance of the Eclipse plugin.
44
   * Returns the singleton instance of the Eclipse plugin.
45
   * <!-- begin-user-doc -->
46
   * <!-- end-user-doc -->
32
   * @return the singleton instance.
47
   * @return the singleton instance.
48
   * @generated
33
   */
49
   */
34
  public static Implementation getPlugin()
50
  public static Implementation getPlugin()
35
  {
51
  {
36
    return plugin;
52
    return plugin;
37
  }
53
  }
38
  /**
54
  /**
39
   * The actual implementation of the Eclipse <b>Plugin</b>.
55
   * The actual implementation of the Eclipse <b>Plugin</b>.
56
   * <!-- begin-user-doc -->
57
   * <!-- end-user-doc -->
58
   * @generated
40
   */
59
   */
41
  public static class Implementation extends EclipsePlugin
60
  public static class Implementation extends EclipseUIPlugin
42
  {
61
  {
43
    /**
62
    /**
44
     * Creates an instance.
63
     * Creates an instance.
64
     * <!-- begin-user-doc -->
65
     * <!-- end-user-doc -->
66
     * @generated
45
     */
67
     */
46
    public Implementation()
68
    public Implementation()
47
    {
69
    {
48
      super();
70
      super();
71
  
49
      // Remember the static instance.
72
      // Remember the static instance.
50
      //
73
      //
51
      plugin = this;
74
      plugin = this;
52
    
75
    
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